1. #1
    Sencha Premium Member
    Join Date
    Apr 2009
    Posts
    236
    Vote Rating
    15
    jhoweaa will become famous soon enough

      0  

    Default 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?

    Thanks!

    Jim

  2. #2
    Sencha - Senior Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    38,215
    Vote Rating
    1044
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default

    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
    https://github.com/mitchellsimoens

    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 services@sencha.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.

Thread Participants: 1

Tags for this Thread