Skip to content

Commit

Permalink
fix tap can not be detected
Browse files Browse the repository at this point in the history
  • Loading branch information
jwu committed Jul 18, 2016
1 parent 118f9fc commit b5b65fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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")' +
Expand Down

0 comments on commit b5b65fa

Please sign in to comment.