diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2012-11-12 18:05:13 +0100 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-01-18 15:10:36 +0100 |
commit | 5e90c9884977b07be8cd0d4f6377b633f29e4ad1 (patch) | |
tree | 6ab0a8f166cef39558078762d0bce42c8a00eeeb /install/ui/src/freeipa/automount.js | |
parent | e3ce3e4f393d45d4e611a129db6cb7abfa5ad716 (diff) | |
download | freeipa-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/automount.js')
-rw-r--r-- | install/ui/src/freeipa/automount.js | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/install/ui/src/freeipa/automount.js b/install/ui/src/freeipa/automount.js index 3a4491d8b..6e8547c7f 100644 --- a/install/ui/src/freeipa/automount.js +++ b/install/ui/src/freeipa/automount.js @@ -1,6 +1,3 @@ -/*jsl:import ipa.js */ -/*jsl:import search.js */ - /* Authors: * Adam Young <ayoung@redhat.com> * @@ -21,7 +18,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -/* REQUIRES: ipa.js, details.js, search.js, add.js, facet.js, entity.js */ +define(['./ipa', './jquery', './details', './search', './association', + './entity'], function(IPA, $) { IPA.automount = {}; @@ -352,3 +350,6 @@ IPA.automount.key_search_facet = function(spec) { IPA.register('automountlocation', IPA.automount.location_entity); IPA.register('automountmap', IPA.automount.map_entity); IPA.register('automountkey', IPA.automount.key_entity); + +return {}; +});
\ No newline at end of file |