Hello,
I am testing the HelloHTML5World at cocos2d-html5-v2.2.1 on Tizen Simulator.
For that I have done the following steps:
# Put compiler.jar to HelloHTML5World folder and minimized the app to myApp-HelloWorld.js.
# Created Tizen Web project in TizenIDE (I have selected Template~~> Tizen Web UI Builder~~> Empty Project).
# Copied index.html, cocos2d.js, MyApp-HelloWorld.js res/ to Tizen Web project directory.
# Basically did not use index.html but replace body tags of App.html with
`
@
After running the application I started to get error, thus I performed a code beutiefier from Tizen IDE (that is only line breaks and indents). So on the buitified code I got error for the following code:
@ RECT_ZERO:{
get:function () {
return cc.rect(0, 0, 0, 0);
}
}@
The error is “TypeError: Attempting to change the getter of an unconfigurable property.” I have found that this is from geometry.js and never used anywhere, thus I just simply tried to remove this code to get rid of the error. Now the error occured in:
@ GRAY: {
get: function() {
return cc.c3b(166, 166, 166)
}
}@
Again: “myApp-HelloWorld.beaut.js (1474) :TypeError: Attempting to change the getter of an unconfigurable property.” Obviously all the colors I cannot remove they are used a lot.
It seems that tizen browser does not support this contstruction. Do you know anything about this issue?