Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

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?


— asked April 6th 2010 by Antonio Silveira
  • yahoo
  • yui

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.


    — answered April 6th 2010 by Bill Dawson
  • Bill, your link doesn't work. Can you please repost?

    — answered April 6th 2010 by Ryan Huff
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.