summaryrefslogtreecommitdiffstats
path: root/install/static/test/navigation_tests.js
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-01-12 19:51:22 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-01-14 04:03:47 -0500
commit680148ed036bcef5ecfc0ca1938b9768d8a233ca (patch)
tree633e36ec231f41fcf03ff42a922829beef8c551c /install/static/test/navigation_tests.js
parent00b3984e5a754b40bd10515ce9629583c78b6c8e (diff)
downloadfreeipa.git-680148ed036bcef5ecfc0ca1938b9768d8a233ca.tar.gz
freeipa.git-680148ed036bcef5ecfc0ca1938b9768d8a233ca.tar.xz
freeipa.git-680148ed036bcef5ecfc0ca1938b9768d8a233ca.zip
scoping functions
converting function of the form ipa_<name> to IPA.<name> to remove them from the global namespace. https://fedorahosted.org/freeipa/ticket/212
Diffstat (limited to 'install/static/test/navigation_tests.js')
-rw-r--r--install/static/test/navigation_tests.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/static/test/navigation_tests.js b/install/static/test/navigation_tests.js
index 4321939f..bc198ac0 100644
--- a/install/static/test/navigation_tests.js
+++ b/install/static/test/navigation_tests.js
@@ -30,7 +30,7 @@ test("Testing nav_create().", function() {
{name:'group', entity:'group'}
]}];
- var entity = ipa_entity({name: 'user'});
+ var entity = IPA.entity({name: 'user'});
entity.setup = function(container){
user_mock_called = true;
same(container[0].id,'user','user id');
@@ -38,7 +38,7 @@ test("Testing nav_create().", function() {
};
IPA.add_entity(entity);
- entity = ipa_entity({name: 'group'});
+ entity = IPA.entity({name: 'group'});
entity.setup = function(container){
group_mock_called = true;
same(container[0].id,'group','group id');