From 57aa89824a8dabb631c15af986a39e779d0fe3cb Mon Sep 17 00:00:00 2001 From: Mark Weiman Date: Sun, 11 Oct 2015 01:00:38 -0400 Subject: inital --- static/admin/js/jquery.init.js | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 static/admin/js/jquery.init.js (limited to 'static/admin/js/jquery.init.js') diff --git a/static/admin/js/jquery.init.js b/static/admin/js/jquery.init.js new file mode 100644 index 0000000..22a4c8b --- /dev/null +++ b/static/admin/js/jquery.init.js @@ -0,0 +1,7 @@ +/* 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); -- cgit v1.3.1