1. #1
    Ext JS Premium Member
    Join Date
    Jun 2011
    Posts
    107
    Vote Rating
    1
    kclendinning is on a distinguished road

      0  

    Default Do we have any tool to bundle all the java script?

    Do we have any tool to bundle all the java script?


    Hello, i was trying to us the SDk tools to minify the java script but it is only minifying the app.js file and i have to use ext-all.js file as a minified version, but not any other java script files i have, does sencha provide any tool to bundle all the java script files?

    please let me know if you have anything like that or am i doing something wrong....for now i am following

    http://docs.sencha.com/ext-js/4-0/#!/guide/getting_started

    OUTPUT:

    Loading the Project Name Project
    Loaded 0 Packages
    Loaded 2 Builds
    * Parse all-classes.js with options:
    - debug: true
    - debugLevel: 1
    * Parse app-all.js with options:
    - debug: false
    - debugLevel: 1
    * Compress and obfuscate app-all.js...
    Copy resources...
    Done building!

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


    In your application files, are you using things like requires or views to specify what files those classes require?
    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
    Jun 2011
    Posts
    107
    Vote Rating
    1
    kclendinning is on a distinguished road

      0  

    Default


    yes. we do have requires for telling the dependency and controllers but not views.

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,704
    Vote Rating
    750
    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 you do the build are you using the ext-debug.js file? The SDK Tools go through all the require properties (requires, uses, controllers, etc) and builds the dependency list.
    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.

  5. #5
    Ext JS Premium Member
    Join Date
    Jun 2011
    Posts
    107
    Vote Rating
    1
    kclendinning is on a distinguished road

      0  

    Default


    No i am using this code in my index.html file

    <html>
    <head>
    <title>I</title>
    <link rel="stylesheet" type="text/css" href="resources/css/ia-mgr.css" />
    <link rel="icon" type="image/x-icon" href="resources/images/favicon.ico" />
    <!--[if IE 9]>
    <link rel="stylesheet" type="text/css" href="resources/css/IE9.css" />
    <![endif]-->
    <script type='text/javascript' src='ext/ext-all-debug.js'></script>
    <script type='text/javascript' src='app.js'></script>
    </head>
    <body>
    </body>
    </html>

  6. #6
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,704
    Vote Rating
    750
    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


    To do the build you shouldn't use one of the all scripts
    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.

  7. #7
    Ext JS Premium Member
    Join Date
    Jun 2011
    Posts
    107
    Vote Rating
    1
    kclendinning is on a distinguished road

      0  

    Default


    So you mean to say instead of ext-debug-all.js i should use ext.js file and it will minify all my java script files?

  8. #8
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,704
    Vote Rating
    750
    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


    That will help get the Ext JS classes to be bundled into the mix. I'm not too sure why your application classes aren't getting picked up at least.
    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.

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar