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