فهرست منبع

Merge branch 'qqplay-1.0' of http://svn.ouj.com:3000/DWG/budingGame into qqplay-1.0

Roy 5 سال پیش
والد
کامیت
d1c30ec2bf
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      assets/Script/QQCommon.js

+ 3 - 1
assets/Script/QQCommon.js

@@ -4,7 +4,7 @@ class QQCommon {
 	}
 
 	static getInstance() {
-        if (!QQCommon.instance && CC_WECHATGAME) {
+        if (!QQCommon.instance && CC_QQPLAY) {
             QQCommon.instance = new QQCommon();
         }
         return QQCommon.instance;
@@ -37,3 +37,5 @@ class QQCommon {
 		return systemInfo;
 	}
 }
+
+module.exports = QQCommon.getInstance();