Reputation: 6420
I use Ext 4.1.1
I keep getting:
[Ext.Loader] Synchronously loading 'Eml.store.eml.EventSummary'; consider adding Ext.require('Eml.store.eml.EventSummary') above Ext.onReady
I added the store reference to my controller first, but the controller isn't loaded till later.. so I added it as 'requires' but no cigar.. Anyone got a clue what I'm doing wrong?
Upvotes: 0
Views: 678
Reputation: 30092
Because it doesn't get evaluated during creation, it creates the store before it ever passes the object literal to the define().
Instead, specify the store in initComponent.
Upvotes: 3