diff options
author | Akshen | 2019-03-05 11:53:37 +0530 |
---|---|---|
committer | GitHub | 2019-03-05 11:53:37 +0530 |
commit | d2867b9f320ab823f0d40ed948867019e172ee79 (patch) | |
tree | 72b1f971823ecb1aed88ce793c69921f66e4291e /static/admin/js/jquery.init.js | |
parent | dd647ee3f5c0eb77fc04024c9864cd69a963bc16 (diff) | |
parent | efda4b675ab162346a72abf0ceee29cfc0f99001 (diff) | |
download | FOSSEE_animations-d2867b9f320ab823f0d40ed948867019e172ee79.tar.gz FOSSEE_animations-d2867b9f320ab823f0d40ed948867019e172ee79.tar.bz2 FOSSEE_animations-d2867b9f320ab823f0d40ed948867019e172ee79.zip |
Merge pull request #1 from Akshen/develop
Develop
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); |