View Full Version : [FIXED] [PR 1] Ext.app.Application -> stores

15 Oct 2011, 10:55 AM
hi team,

when creating an app like this:

enabled : true

name : 'SC',

phoneStartupScreen : 'resources/images/startscreen.jpg',

controllers : [

stores : [

views : [

the loader successfully loads the controller and the view, but for the store it fires an error:

[Ext.Loader] Synchronously loading 'SC.store.Settings'; consider adding Ext.require('SC.store.Settings') above Ext.onReady

Uncaught Error: [Ext.Loader] Failed loading synchronously via XHR: 'app/store/Settings.js'; It's likely that the file is either being loaded from a different domain or from the local file system whereby cross origin requests are not allowed due to security reasons. Use asynchronous loading with Ext.require instead.

Jamie Avins
17 Oct 2011, 8:26 AM
Thank you for the report.

15 Dec 2011, 1:52 PM
This is working in trunk and should be fine in PR4