From 1f3d9c4f7aa229c63083dd199629a6b2845df35a Mon Sep 17 00:00:00 2001 From: "Zhenfei.Li" Date: Sun, 29 Sep 2019 16:27:20 +0800 Subject: [PATCH] =?UTF-8?q?BI-52759=20refactor:=20=E5=AF=B9$=E5=92=8CjQuer?= =?UTF-8?q?y=E5=81=9A=E4=B8=8B=E5=88=A4=E6=96=AD=EF=BC=8C=E6=B2=A1?= =?UTF-8?q?=E6=9C=89=E5=88=99=E7=9B=B4=E6=8E=A5=E6=9A=B4=E9=9C=B2=E5=87=BA?= =?UTF-8?q?=E6=9D=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/platform/web/jquery/_jquery.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/platform/web/jquery/_jquery.js b/src/core/platform/web/jquery/_jquery.js index 2b81addbd..f97f22958 100644 --- a/src/core/platform/web/jquery/_jquery.js +++ b/src/core/platform/web/jquery/_jquery.js @@ -9596,6 +9596,8 @@ jQuery.each( { Height: "height", Width: "width" }, function( name, type ) { // })(); // Expose jQuery to the global object BI.jQuery = BI.$ = jQuery; +window.$ = window.$ || jQuery; +window.jQuery = window.jQuery || jQuery; // Expose jQuery as an AMD module, but only for AMD loaders that // understand the issues with loading multiple versions of jQuery