In my development I need to include third part javascripts; like money.js (http://josscrowcroft.github.com/money.js/)
What is the best ‘clean’/’proper’ way to achieve it ? Just include it in index.html ?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
No. Don’t directly add the additional javascript files in the
index.htmlfile. That is not the recommended way (though it may work).Instead, do like this,
index.html. microloader is the folder that is shipped with sencha sdk and contains three files mainly,development.js,production.jsandtesting.js, each one for it’s own purpose.<appname>folder, you will need to have a file called asapp.json. It will look something like this ..