diff options
author | Sashi20 | 2020-02-20 12:58:59 +0530 |
---|---|---|
committer | Sashi20 | 2020-02-20 12:58:59 +0530 |
commit | 1fb3d381e832d5c5871c6cb2fd8b2c1ae3dbd029 (patch) | |
tree | 3a9829196102efdf509fe50b5458237966999ecf /static/admin/js/jquery.init.js | |
parent | 802bbc270363d1432cb28cd88d6c9003d8b99b6c (diff) | |
download | arduino_projects_website-1fb3d381e832d5c5871c6cb2fd8b2c1ae3dbd029.tar.gz arduino_projects_website-1fb3d381e832d5c5871c6cb2fd8b2c1ae3dbd029.tar.bz2 arduino_projects_website-1fb3d381e832d5c5871c6cb2fd8b2c1ae3dbd029.zip |
Add user registration, login and abstract submission interfaces
Diffstat (limited to 'static/admin/js/jquery.init.js')
-rw-r--r-- | static/admin/js/jquery.init.js | 8 |
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); |