Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Touch Premium Member
    Join Date
    Jun 2011
    Posts
    474
    Vote Rating
    1
    johnnywengluu is on a distinguished road

      0  

    Default stores are synchronously loaded in app.js

    stores are synchronously loaded in app.js


    In this code:

    Code:
    Ext.application({
      name: 'MyApp,
      autoCreateViewport: true,
      stores: ['multimedia.Computer']
    });
    I get a warning telling me that the store is synchronously required:

    [Ext.Loader] Synchronously loading 'MyApp.store.multimedia.Computer'; consider adding Ext.require('MyApp.store.multimedia.Computer') above Ext.onReady

    Could this be fixed?

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,948
    Vote Rating
    636
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Not really possible to say without seeing a full test case, but it's likely an ordering thing. For example your controller may be creating a view which is using that store before it gets required by the application.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Thread Participants: 1