xavierlacot / joli.js

joli.js is an Activerecord-like javascript ORM, particularly suited for being used in the Appcelerator Titanium Mobile framework.
MIT License
267 stars 60 forks source link

Appcelerator 1.8 / V8 changes: getType needs a different Array check #17

Closed nicjansma closed 12 years ago

nicjansma commented 12 years ago

With Appcelerator 1.8 and V8 on Android, obj.constructor is [Function]. V8 has Array.isArray, so we can use that for V8.

xavierlacot commented 12 years ago

Thanks nicjansma