diff options
author | Jayaram R Pai | 2014-09-20 19:57:24 +0530 |
---|---|---|
committer | Jayaram R Pai | 2014-09-20 20:02:43 +0530 |
commit | 96156a0b7f59372dfa22710a45e1443af71bb8fb (patch) | |
tree | 1e7c54f7df4f4b166cf737933b4c3021af5405b6 /static/admin/js/jquery.init.js | |
parent | 31fa38e1970c5650ce10e3cf25ec29311a32b66a (diff) | |
download | scipy2014-96156a0b7f59372dfa22710a45e1443af71bb8fb.tar.gz scipy2014-96156a0b7f59372dfa22710a45e1443af71bb8fb.tar.bz2 scipy2014-96156a0b7f59372dfa22710a45e1443af71bb8fb.zip |
add dajax, admin static files
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..dd4605c --- /dev/null +++ b/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) +}; |