How To Include Normal Javascript Files In Sencha Touch

You can add normal Javascript files with functions or variables and re-use them within your Sencha Touch project by going to app.json and look for the line where “js” is where paths are specified.

Simple add another entry specifying the folder and Javascript filename.

In the sample code above, the Test.js Javascript file is placed in a folder named util which is located in the same folder where app.json is.

Found this useful? Donations appreciated to help keep this blog alive.

Related Posts Plugin for WordPress, Blogger...

Post a Comment