diff options
author | prashantsinalkar | 2019-11-28 11:44:18 +0530 |
---|---|---|
committer | prashantsinalkar | 2019-11-28 11:44:18 +0530 |
commit | 06653abddb801782ef2fc9c7bd2ea097fd4c61c6 (patch) | |
tree | 31083a2fa059262370e3fb0825ce3e5c2cd0c4f2 /website/static/admin/js/jquery.init.js | |
parent | c43a784c26da8fba39b4d017c1c596587a6255a6 (diff) | |
download | pyfoss-06653abddb801782ef2fc9c7bd2ea097fd4c61c6.tar.gz pyfoss-06653abddb801782ef2fc9c7bd2ea097fd4c61c6.tar.bz2 pyfoss-06653abddb801782ef2fc9c7bd2ea097fd4c61c6.zip |
added static files in app
Diffstat (limited to 'website/static/admin/js/jquery.init.js')
-rw-r--r-- | website/static/admin/js/jquery.init.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/website/static/admin/js/jquery.init.js b/website/static/admin/js/jquery.init.js new file mode 100644 index 0000000..dd4605c --- /dev/null +++ b/website/static/admin/js/jquery.init.js @@ -0,0 +1,8 @@ +/* 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 = { + "jQuery": jQuery.noConflict(true) +}; |