fix tap can not be detected

This commit is contained in:
Johnny Wu
2016-07-18 10:19:27 +08:00
parent 118f9fc2c8
commit b5b65faee5
+1 -1
View File
@@ -30,7 +30,7 @@
eval(
/* use EVAL to prevent the uglify from renaming symbols */
'if(typeof CC_TEST=="undefined")' +
'CC_TEST=typeof describe!="undefined"||typeof QUnit=="object";' +
'CC_TEST=typeof tap=="object"||typeof QUnit=="object";' +
'if(typeof CC_EDITOR=="undefined")' +
'CC_EDITOR=typeof Editor=="object"&&typeof process=="object"&&"electron" in process.versions;' +
'if(typeof CC_DEV=="undefined")' +