Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

Hybrid View

  1. #1
    Sencha User
    Join Date
    Oct 2008
    Posts
    27
    Vote Rating
    0
    JAD1951 is on a distinguished road

      0  

    Default TypeError: App is not a constructor

    TypeError: App is not a constructor


    My application works fine with ExtJS 4.1.3. With 4.2.0 and 4.2.1 I have a message : " TypeError: App is not a constructor http://localhost/extjs/ext-all-debug.js Line 7787 " This is an error [Stopper sur une erreur]

    In fact my code is broken at line 7787 inside ext-all-debug.js : Ext.app.Application.instance = new App();

    With ExtJS 4.1.3 an application is generated like this (line 6926):
    Ext.onReady(function() {
    new Ext.app.Application(config);
    });
    and it works fine.

    I start my application from Application.js :

    Ext.Loader.setConfig({enabled:true});

    Ext.application({
    name: '
    Motile',
    appFolder: '
    app',
    autoCreateViewport:
    true,

    requires: [
    'Motile.view.Viewport',
    'Motile.view.NavigationView'
    ,'Motile.view.ResourcesTemplatesView'

    ],


    controllers: [
    'ProjectTree',
    'ProjectsCatalog',
    'FrontController',
    'TemplatesTree',
    'StaffGrid',
    'EqpTreeGrid',
    'ResourcesGroups',
    'AbilitiesGridController',
    'ResourceAbilitiesGridController',
    'ItemsGridController'
    ]

    ,models: [
    'AbilitiesModel'
    ,'EqpModel'
    ,'ItemsModel'
    ,'ProjectModel'
    ,'ProjectsCatalog'
    ,'ResourceAbilitiesModel'
    ,'ResourcesGroupsModel'
    ,'StaffModel'
    ,'TemplatesModel'
    ]

    ,stores: [
    'AbilitiesStore'
    ,'EqpStore'
    ,'ItemsStore'
    ,'ProjectStore'
    ,'ProjectsCatalog'
    ,'ResourceAbilitiesStore'
    ,'ResourcesGroupsStore'
    ,'StaffStore'
    ,'TemplatesStore'
    ]
    });

  2. #2
    Sencha User
    Join Date
    Oct 2008
    Posts
    27
    Vote Rating
    0
    JAD1951 is on a distinguished road

      0  

    Default Now ExtJS 4.2.1 works

    Now ExtJS 4.2.1 works


    I founded : I added to each controller :

    models ['Motile.model.nameOfModel'],

    and my Viewport is O.K

  3. #3
    Sencha User
    Join Date
    Oct 2008
    Posts
    27
    Vote Rating
    0
    JAD1951 is on a distinguished road

      0  

    Default Strange behaviour

    Strange behaviour


    I have returned to my program and the error "App is not a constructor" appears.

  4. #4
    Sencha User
    Join Date
    Oct 2008
    Posts
    27
    Vote Rating
    0
    JAD1951 is on a distinguished road

      0  

    Default New with ExtJS 4.2.1 relatively to 4.1.1

    New with ExtJS 4.2.1 relatively to 4.1.1


    ExtJS 4.2.1 introduces a new model : 'Ext.data.TreeModel'.
    Now it's O.K.

  5. #5
    Ext JS Premium Member
    Join Date
    Jul 2009
    Posts
    102
    Vote Rating
    0
    qbert65536 is on a distinguished road

      0  

    Default


    These answers are all pretty unclear.

    My code worked fine with 4.1, upgrade to 4.2, and only in FireFox, I get the exact same error.

    Sencha, how do we fix this ?

  6. #6
    Ext JS Premium Member
    Join Date
    Jul 2009
    Posts
    102
    Vote Rating
    0
    qbert65536 is on a distinguished road

      0  

    Default


    Guys ?