diff options
Diffstat (limited to 'js/src/Ice/Address.js')
-rw-r--r-- | js/src/Ice/Address.js | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/js/src/Ice/Address.js b/js/src/Ice/Address.js new file mode 100644 index 00000000000..cfeeb2149c1 --- /dev/null +++ b/js/src/Ice/Address.js @@ -0,0 +1,22 @@ +// ********************************************************************** +// +// Copyright (c) 2003-2014 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +(function(global){ + var Ice = global.Ice || {}; + + var Address = function(host, port) + { + this.host = host; + this.port = port; + }; + + Ice.Address = Address; + + global.Ice = Ice; +}(typeof (global) === "undefined" ? window : global)); |