cocos2d / cocos2d-html5

Cocos2d for Web Browsers. Built using JavaScript.
https://www.cocos.com
3.07k stars 901 forks source link

Problem with IE9 on Windows Vista #715

Closed synergie7 closed 11 years ago

synergie7 commented 11 years ago

Several people have reported that my game http://www.rogerclark.net/wp-content/uploads/2012/12/trafficcontrol doesn't work on IE9 in Vista.

Apparently the asset loader works, but once the assets are loaded the screen goes blank.

I'm not sure if this is a Vista only issue or IE9 in general. I'll update this issue when I've had chance to test in Windows 7 - IE9

dingpinglv commented 11 years ago

"const" keyword is not supported in Internet Explorer 6-9, or in the preview of Internet Explorer 10.

https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Statements/const

synergie7 commented 11 years ago

oops... Thanks, I'll change it to var