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.

Related Posts Plugin for WordPress, Blogger...

Leave a Reply

Your email address will not be published. Required fields are marked *