Browse Source

无JIRA任务 暴露全局的jQuery和$

es6
youki 4 years ago
parent
commit
8f38e01b81
  1. 4
      src/core/platform/web/jquery/_jquery.js

4
src/core/platform/web/jquery/_jquery.js vendored

@ -11003,9 +11003,7 @@
// Expose jQuery and $ identifiers, even in // Expose jQuery and $ identifiers, even in
// AMD (#7102#comment:10, https://github.com/jquery/jquery/pull/557) // AMD (#7102#comment:10, https://github.com/jquery/jquery/pull/557)
// and CommonJS for browser emulators (#13566) // and CommonJS for browser emulators (#13566)
if ( !noGlobal ) { window.jQuery = window.$ = jQuery;
window.jQuery = window.$ = jQuery;
}
BI.jQuery = BI.$ = jQuery; BI.jQuery = BI.$ = jQuery;

Loading…
Cancel
Save