From 96156a0b7f59372dfa22710a45e1443af71bb8fb Mon Sep 17 00:00:00 2001 From: Jayaram R Pai Date: Sat, 20 Sep 2014 19:57:24 +0530 Subject: add dajax, admin static files --- static/admin/js/jquery.init.js | 8 ++++++++ 1 file changed, 8 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..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) +}; -- cgit