lamberta/doodle-js

Doodle Library Errors out on iPad

joelongstreet opened this issue · 2 comments

The doodle library will error out on the iPad.

Running the console on the iPad simulator I get the following - " "Result of expression 'Object.defineProperties'[undefined] is not a function."

This happens anytime the library is called.

This issue does not occur on other iOS devices - iPhone and iPhone 4.

This is not an issue with the library, the iPad simulator fails to recognize ECMAScript5 properties.

Ugh. Thanks for pointing that out.
WebKit supports Object.defineProperty [http://kangax.github.com/es5-compat-table/] so it should run in Safari, or a WebView if you're doing a Native App. I assumed the simulator used the same.