summaryrefslogtreecommitdiff
path: root/static/admin/js/jquery.init.js
diff options
context:
space:
mode:
authorAkshen2019-02-22 12:49:43 +0530
committerAkshen2019-02-22 12:49:43 +0530
commiteed46efdccfb2821cb07b6a189f439ba6f7bb3f2 (patch)
tree6c76aec2be2bf58978b638ef0f7209c8bbadb4bc /static/admin/js/jquery.init.js
parentdf35e10de960c0a2566df002faa1f8fa7828ba51 (diff)
downloadFOSSEE_animations-eed46efdccfb2821cb07b6a189f439ba6f7bb3f2.tar.gz
FOSSEE_animations-eed46efdccfb2821cb07b6a189f439ba6f7bb3f2.tar.bz2
FOSSEE_animations-eed46efdccfb2821cb07b6a189f439ba6f7bb3f2.zip
Basic Feature Working
- Register - Sendmail - Login/Logout - Index page - View profile - NavBar fixed
Diffstat (limited to 'static/admin/js/jquery.init.js')
-rw-r--r--static/admin/js/jquery.init.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/static/admin/js/jquery.init.js b/static/admin/js/jquery.init.js
new file mode 100644
index 0000000..f3ac162
--- /dev/null
+++ b/static/admin/js/jquery.init.js
@@ -0,0 +1,8 @@
+/*global django:true, jQuery:false*/
+/* Puts the included jQuery into our own namespace using noConflict and passing
+ * it 'true'. This ensures that the included jQuery doesn't pollute the global
+ * namespace (i.e. this preserves pre-existing values for both window.$ and
+ * window.jQuery).
+ */
+var django = django || {};
+django.jQuery = jQuery.noConflict(true);