1. #1
    Sencha User
    Join Date
    May 2011
    Posts
    17
    Vote Rating
    -1
    chaostimmy is an unknown quantity at this point

      0  

    Default Compile File Size

    Compile File Size


    Hi extlers,
    I created a workspace and an app with sencha cmd. I moved already existing source code into the MVC structure and successfully built it.

    My question now is why the generated "all-classes.js" file is still 1.7MB of size?? It's the same download size as before without any compilation ..

    Here's the header of my 'application.js' file which specifies the dependencies.. I'm using sencha cmd beta 4
    PHP Code:
    Ext.define('My.Application', {
        
    name'My.Application',
        
    extend'App.Application',
        
    requires: [
            
    'Ext.layout.container.Form',
            
    'Ext.form.field.Checkbox',
            
    'Ext.data.reader.Json',
            
    'Ext.form.FieldSet',
            
    'Ext.form.RadioGroup',
            
    'Ext.form.field.Radio',
            
    'Ext.form.Label',
            
    'Ext.form.field.Hidden',
            
    'Ext.button.Split',
            
    'Ext.chart.Chart',
            
    'Ext.chart.series.Pie',
            
    'App.functions',
            
    'App.Application',
            
    'App.store.DatabaseStore',
            
    'App.store.DatabaseTypeStoreSSU',
            
    'App.store.DatabaseTypeStoreLSU',
            
    'App.model.AppTaskModel',
            
    'App.model.DatabaseModel',
            
    'App.model.ExportModel'
        
    ],
        
    controllers: [
            
    'App.controller.MyController',
            
    'App.controller.CartController',
            
    'App.controller.MySearchController',
            
    'App.controller.ExportController',
            
    'App.controller.JobController'
        
    ],
        
    views: [
            
    'App.view.window.ExportWindow',
            
    'App.view.MyFormView',
            
    'App.view.CartView',
            
    'App.view.MyPiechartView',
            
    'App.view.MessagePanel',
            
    'App.view.grid.BaseGrid',
            
    'App.view.grid.MyResultGrid',
        ], 

  2. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    4,769
    Vote Rating
    165
    slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold slemmon is a splendid one to behold

      0  

    Default


    What ExtJS library file are you using in your index.html file being used in the build? ext-dev.js?

    Code:
    <script src="../ext/ext-dev.js"></script>
    Are you a Sencha products veteran who has wondered what it might be like to work at Sencha? If so, please reach out to our recruiting manager: sheryl@sencha.com

    C
    heck out all of the 2013 SenchaCon presentations here:
    http://www.sencha.com/blog/senchacon...now-available/

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