From 680148ed036bcef5ecfc0ca1938b9768d8a233ca Mon Sep 17 00:00:00 2001 From: Adam Young Date: Wed, 12 Jan 2011 19:51:22 -0500 Subject: scoping functions converting function of the form ipa_ to IPA. to remove them from the global namespace. https://fedorahosted.org/freeipa/ticket/212 --- install/static/test/navigation_tests.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install/static/test/navigation_tests.js') 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'); -- cgit