diff options
Diffstat (limited to 'assets/admin/js/jquery.init.js')
-rw-r--r-- | assets/admin/js/jquery.init.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/assets/admin/js/jquery.init.js b/assets/admin/js/jquery.init.js new file mode 100644 index 0000000..dd4605c --- /dev/null +++ b/assets/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) +}; |