cocos2d / cocos2d-html5

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

Cocos2d-html5 doesn't work on iPad and some other devices #956

Closed Tokyonono closed 11 years ago

Tokyonono commented 11 years ago

Version 2.1.1 was working fine on my iPad (iOS 5.1.1), but I tested the version 2.1.3 and the develop version (June 5th, 2013) and my games (and the hello world sample) won't start on my iPad (no issue on Chrome on PC, Safari on iPhone 4S iOS 6.1.3 and default browser on Galaxy S3 Android 4.1.2). Steps to reproduce: 1/ Launch the Hello World sample on an iPad (tested on iOS 5.1.1, not sure how it behaves on other versions) 2/ It doesn't work and the debug console shows: JavaScript: Error undefined TypeError: 'Undefined' is not a function I also heard some Android devices had the same problem, but I don't know which versions of Android and which devices.

linshun commented 11 years ago

It has been fixed by https://github.com/cocos2d/cocos2d-html5/pull/957