Browse Source

Pull request #1627: 无JIRA任务 暴露全局的jQuery和$

Merge in VISUAL/fineui from ~YOUKI/fineui:master to master

* commit '8f38e01b81d5e2d33763b027f454179c8b465e86':
  无JIRA任务 暴露全局的jQuery和$
master
Teller 4 years ago
parent
commit
0e4bd6f3ac
  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
// AMD (#7102#comment:10, https://github.com/jquery/jquery/pull/557)
// and CommonJS for browser emulators (#13566)
if ( !noGlobal ) {
window.jQuery = window.$ = jQuery;
}
window.jQuery = window.$ = jQuery;
BI.jQuery = BI.$ = jQuery;

Loading…
Cancel
Save