15 Jan 2013 8:29 AM #1
Best practice when using additional libraries
I've used Sencha Cmd to create my basic application structure. I would also like to use some third party libraries with my app, for example underscore.js. What is the recommended location for these files? The underscore distribution includes both a development version as well as a compressed production version. What is the best way to work with Sencha Cmd to make sure that the production build contains the production version of the underscore (or any other) library?
17 Jan 2013 9:24 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
I usually put them under resources. Some put it under lib (new dir)Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services email@example.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.