From 3f3bf6f15acc369b59026fa891b19f059849dcbc Mon Sep 17 00:00:00 2001 From: hewenning <919313096@qq.com> Date: Thu, 29 Aug 2019 17:59:51 +0800 Subject: [PATCH] Fixed cocosanalytics is not defined. --- creator_project/packages/creator-luacpp-support/core/Utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/creator_project/packages/creator-luacpp-support/core/Utils.js b/creator_project/packages/creator-luacpp-support/core/Utils.js index 4bfd5123..1166f667 100644 --- a/creator_project/packages/creator-luacpp-support/core/Utils.js +++ b/creator_project/packages/creator-luacpp-support/core/Utils.js @@ -114,7 +114,7 @@ class Utils { script.onload = function () { document.head.removeChild(script); - analytics = cocosAnalytics; + // analytics = cocosAnalytics; if (typeof(analytics) !== 'undefined') { analytics.init({ appID: '630639001',