Kaynağa Gözat

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

Roy 5 yıl önce
ebeveyn
işleme
d1c30ec2bf
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  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();