diff options
| author | ckonstanski <kostcarl@isu.edu> | 2026-07-30 17:56:41 -0600 |
|---|---|---|
| committer | ckonstanski <kostcarl@isu.edu> | 2026-07-30 17:56:41 -0600 |
| commit | cfb4bf6be1b18ec15cddbec1ea37e76176b1050b (patch) | |
| tree | 1bbe88bca7ea6282296a9cfb16b6e52bd16c6f38 /src/static/admin/js/jquery.init.js | |
| parent | aeab73540c306e5f906bccc444c252d8ad2adc34 (diff) | |
initial commit
Diffstat (limited to 'src/static/admin/js/jquery.init.js')
| -rw-r--r-- | src/static/admin/js/jquery.init.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/static/admin/js/jquery.init.js b/src/static/admin/js/jquery.init.js new file mode 100644 index 0000000..f3ac162 --- /dev/null +++ b/src/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); |
