summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/association.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/association.js
parente3ce3e4f393d45d4e611a129db6cb7abfa5ad716 (diff)
downloadfreeipa-5e90c9884977b07be8cd0d4f6377b633f29e4ad1.tar.gz
freeipa-5e90c9884977b07be8cd0d4f6377b633f29e4ad1.tar.xz
freeipa-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/association.js')
-rw-r--r--install/ui/src/freeipa/association.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/install/ui/src/freeipa/association.js b/install/ui/src/freeipa/association.js
index 70b8e9f1e..c6b9e5a4e 100644
--- a/install/ui/src/freeipa/association.js
+++ b/install/ui/src/freeipa/association.js
@@ -1,5 +1,3 @@
-/*jsl:import ipa.js */
-
/* Authors:
* Adam Young <ayoung@redhat.com>
* Petr Vobornik <pvoborni@redhat.com>
@@ -21,10 +19,11 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-/* REQUIRES: ipa.js */
/* CURRENTLY ALSO REQUIRES search.js, because it reuses it's code to create
* the AssociationList elements; IT NEEDS IT'S OWN CODE! */
+define(['./ipa', './jquery', './search', './dialog'], function(IPA, $) {
+
IPA.associator = function (spec) {
spec = spec || {};
@@ -1386,4 +1385,7 @@ IPA.attr_read_only_evaluator = function(spec) {
};
return that;
-}; \ No newline at end of file
+};
+
+return {};
+});