1. #1
    Ext JS Premium Member
    Join Date
    Jul 2011
    Posts
    33
    Vote Rating
    0
    FPXdeveloper_4 is on a distinguished road

      0  

    Default How should we use all-classes.js

    How should we use all-classes.js


    I've gotten everything running with app-all.js. However as I come across bugs, I'd like to use the non-minified all-classes.js but, as I understand it, all-classes does not contain app.js and so can't be run on its own. So how are we supposed to use it? By including all-classes in the html? By modifying app.js to look for all-classes?

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,347
    Vote Rating
    846
    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


    When I need to check on something, I will usually just go back to loading app.js and letting everything autoload like before doing the build.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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.

  3. #3
    Ext JS Premium Member
    Join Date
    Jul 2011
    Posts
    33
    Vote Rating
    0
    FPXdeveloper_4 is on a distinguished road

      0  

    Default


    I have a bug that appears only in app-all and not in app.js (probably because I'm still not building correctly).
    However, I came up with my own solution to my problem. Inside the .jsb3 file I set compress: false on the app-all.js target like this:
    Code:
    {
        "name": "Application - Production",
        "target": "app-all.js",
        "compress": false,
        "files": [
            {
                "path": "",
                "name": "all-classes.js"
            },
            {
                "path": "",
                "name": "app.js"
            }
        ]
    }

Thread Participants: 1