Can I keep using YUI-min.js on Titanium Mobile 1.x
I see that Titanium developer does not offer JS frameworks anymore as part of the setup of a new Project.
UNtil version 0.7 or so it was possible to import YUI, JQuery and other frameworks. Is the support for these frameworks deprecated?
Thanks.
2 Answers
-
Accepted Answer
Hi Antonio,
Starting with Titanium Mobile 0.9+, html+css is no longer the basis of an application. Now JavaScript is used to create native controls on the platform (and layout is done using the properties of those views and controls.)
Therefore, any JS library that requires "document" or "window" or "navigator" can no longer be included, unless you put them on a WebView.
I highly recommend the video "Migrating your Mobile App from 0.8 to 1.0", which discusses this major change.
Regards,
Bill -
Bill, your link doesn't work. Can you please repost?