diff --git a/tools/tojs/cocos2dx_experimental_webView.ini b/tools/tojs/cocos2dx_experimental_webView.ini index 4efe75c9d9..4bb1ff6d1a 100644 --- a/tools/tojs/cocos2dx_experimental_webView.ini +++ b/tools/tojs/cocos2dx_experimental_webView.ini @@ -5,7 +5,7 @@ prefix = cocos2dx_experimental_webView # create a target namespace (in javascript, this would create some code like the equiv. to `ns = ns || {}`) # all classes will be embedded in that namespace -target_namespace = ccexp +target_namespace = ccui macro_judgement = #if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID || CC_TARGET_PLATFORM == CC_PLATFORM_IOS)