1. #1
    Sencha User
    Join Date
    Feb 2009
    Posts
    264
    Vote Rating
    0
    Stephan123 is on a distinguished road

      0  

    Default minified version of extjs

    minified version of extjs


    Hello !

    I have seen the onlinebuilder for extjs.
    ( http://www.extjs.com/products/extjs/build/ )

    But there is not for the version 3.0.
    Is there an other onlinebuilder ?

    Your sincerly

    Stephan

  2. #2
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    There is no "Build your own Ext 3", but you can build Ext 3 manually using JSBuilder2 and edit the ext.jsb2 file.

  3. #3
    Sencha User
    Join Date
    Feb 2009
    Posts
    264
    Vote Rating
    0
    Stephan123 is on a distinguished road

      0  

    Default minified ExtJS

    minified ExtJS


    Hello !

    I have take a look into the jsbuilder.
    I have 2 question.

    In my test dir are files
    * extjs.zip
    * JSBuilder.jar
    * ext.jsb2

    When i now call the command

    Code:
    java -jar JSBuilder2.jar --projectFile J:\htdocs\extjs_builder\ext.jsb2 --homeDir J:\htdocs\extjs_builder\test\
    Is there now build a new extjs - version from extjs.zip ?

    I have take a first look in the ext.jsb2.
    I found in the file some areas.
    For example:

    Code:
    {
            name: 'Drag Drop',
            file: 'pkgs/ext-dd.js',
            isDebug: true,
            pkgDeps: ['pkgs/ext-foundation.js'],
            fileIncludes: [{
                text: 'DDCore.js',
                path: 'src/dd/'
    
    ...
            },{
    When i remove this area then the drag and drop functions from the new
    extjs version is killed.
    Is this correct ?

    Your sincerly

    Stephan

  4. #4
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    Steps:
    1. Extract the Ext 3 SDK file to the project directory.
    2. Ext 3.0.0 only: Put the ext.jsb2 file in the project directory (Ext 3.0.1+ already contains the ext.jsb2 file).
    3. Optionally: Edit the ext.jsb2 file.
    4. Execute:
    Code:
    java -jar JSBuilder2.jar --projectFile <project-dir>\ext.jsb2 --homeDir <output-dir>
    Regarding editing the ext.jsb2 file:
    I normally leave all packages the way they are and add some packages of my own at the bottom (so I don't delete the pkgs/ext-dd.js package, I just don't include it in my own package).

  5. #5
    Sencha User
    Join Date
    Feb 2009
    Posts
    264
    Vote Rating
    0
    Stephan123 is on a distinguished road

      0  

    Default ExtJS minified

    ExtJS minified


    Hello !

    Thanks for the information.
    I some situation the ext-all.js is to big.
    When i only need the extjs-core and extjs-grid, i think a smaller version is better.


    Your sincerly

    Stephan

  6. #6
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,251
    Vote Rating
    73
    Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold Condor is a splendid one to behold

      0  

    Default


    Yes, so you would add your own package 'grid-only.js' at the bottom of ext.jsb2 and specify pkgDeps:
    Code:
    pkgs/ext-foundation.js
    pkgs/cmp-foundation.js
    pkgs/ext-dd.js
    pkgs/data-foundation.js
    pkgs/data-json.js
    pkgs/pkg-grid-foundation.js
    (or a different combination depending on your needs)

Thread Participants: 1

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