-
15 Oct 2011 10:55 AM #1
[PR 1] Ext.app.Application -> stores
[PR 1] Ext.app.Application -> stores
hi team,
when creating an app like this:
the loader successfully loads the controller and the view, but for the store it fires an error:Code:Ext.Loader.setConfig({ enabled : true }); Ext.application({ name : 'SC', phoneStartupScreen : 'resources/images/startscreen.jpg', controllers : [ 'Main' ], stores : [ 'Settings' ], views : [ 'login.Login' ] });
[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.
-
17 Oct 2011 8:26 AM #2Sencha - Sencha Touch Dev Team
- Join Date
- Mar 2007
- Location
- Redwood City, California
- Posts
- 3,653
- Vote Rating
- 14
Thank you for the report.
-
15 Dec 2011 1:52 PM #3Sencha - Community Support Team
- Join Date
- Jan 2009
- Location
- Palo Alto, California
- Posts
- 1,941
- Vote Rating
- 6
This is working in trunk and should be fine in PR4
Ext JS Senior Software Architect
Personal Blog: http://edspencer.net
Twitter: http://twitter.com/edspencer
Github: http://github.com/edspencer
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-880
in
2.0.


Reply With Quote