From d44080f5a39a1a39df0dbae5f4111f2917f66979 Mon Sep 17 00:00:00 2001 From: iapyang Date: Thu, 4 Jun 2020 10:10:53 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E5=85=A8=E5=B1=80=E6=9B=BF?= =?UTF-8?q?=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/base.js | 2 +- src/core/foundation.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/base.js b/src/core/base.js index e073da354..20a57bd30 100644 --- a/src/core/base.js +++ b/src/core/base.js @@ -3,7 +3,7 @@ * Create By GUY 2014\11\17 * */ -var _global; +_global = undefined; if (typeof window !== "undefined") { _global = window; } else if (typeof global !== "undefined") { diff --git a/src/core/foundation.js b/src/core/foundation.js index e8555e32e..067178cbd 100644 --- a/src/core/foundation.js +++ b/src/core/foundation.js @@ -4,7 +4,7 @@ /** * 初始化BI对象 */ -var _global; +_global = undefined; if (typeof window !== "undefined") { _global = window; } else if (typeof global !== "undefined") {