SinkDark/myblog/static/admin/js/jquery.init.js
2024-09-17 17:30:58 +08:00

9 lines
363 B
JavaScript

/*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);