Results 1 to 2 of 2

Thread: What all-classes.js contains and how to use it?

  1. #1
    Sencha User ilija139's Avatar
    Join Date
    Aug 2011
    Location
    Macedonia
    Posts
    36

    Default What all-classes.js contains and how to use it?

    Also I want to know how the DataView example application (https://github.com/senchalabs/compon...taview-example) was built to only require the app-all.js file. It says:

    "You can run this example by simply cloning this repository and opening
    index.html. This works even though I have not included the Sencha Touch 2 framework. This is because I have built my MVC application into the all-classes.js file."

    But I can't understand what it means

  2. #2
    Sencha User ilija139's Avatar
    Join Date
    Aug 2011
    Location
    Macedonia
    Posts
    36

    Default

    I figured it out myself. In all-classes.js are all the classes (duh!) you use but it's not compressed and minified.

    And the example was build by putting the sencha touch classes needed in the jsb3 file so you have one build. It's basically combining app-all.js and sencha-touch.js files into one - no big deal.

Posting Permissions

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