summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/net.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2012-11-12 18:05:13 +0100
committerPetr Vobornik <pvoborni@redhat.com>2013-01-18 15:10:36 +0100
commit5e90c9884977b07be8cd0d4f6377b633f29e4ad1 (patch)
tree6ab0a8f166cef39558078762d0bce42c8a00eeeb /install/ui/src/freeipa/net.js
parente3ce3e4f393d45d4e611a129db6cb7abfa5ad716 (diff)
downloadfreeipa.git-5e90c9884977b07be8cd0d4f6377b633f29e4ad1.tar.gz
freeipa.git-5e90c9884977b07be8cd0d4f6377b633f29e4ad1.tar.xz
freeipa.git-5e90c9884977b07be8cd0d4f6377b633f29e4ad1.zip
Change Web UI sources to simple AMD modules
Web UI sources were wrapped by AMD definition. Listed dependencies were changed accordingly. https://fedorahosted.org/freeipa/ticket/112
Diffstat (limited to 'install/ui/src/freeipa/net.js')
-rw-r--r--install/ui/src/freeipa/net.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/install/ui/src/freeipa/net.js b/install/ui/src/freeipa/net.js
index b8674919..11a245c0 100644
--- a/install/ui/src/freeipa/net.js
+++ b/install/ui/src/freeipa/net.js
@@ -18,6 +18,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+define(['./ipa', './jquery'], function(IPA, $) {
+
var NET = {};
NET.ip_address = function(spec) {
@@ -391,4 +393,7 @@ NET.ip_address = function(spec) {
that.parse();
return that;
-}; \ No newline at end of file
+};
+
+return NET;
+}); \ No newline at end of file