Results 1 to 2 of 2

Thread: Best practice when using additional libraries

  1. #1
    Sencha Premium Member
    Join Date
    Apr 2009
    Posts
    285
    Vote Rating
    21
      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 - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Vote Rating
    1271
      0  

    Default

    I usually put them under resources. Some put it under lib (new dir)
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •