Success! Looks like we've fixed this one. According to our records the fix was applied for TOUCH-880 in a recent build.
  1. #1
    Sencha User tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,669
    Vote Rating
    110
    tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all

      0  

    Default [PR 1] Ext.app.Application -> stores

    [PR 1] Ext.app.Application -> stores


    hi team,

    when creating an app like this:

    Code:
    Ext.Loader.setConfig({
        enabled : true
    });
    
    Ext.application({
        name : 'SC',
    
        phoneStartupScreen : 'resources/images/startscreen.jpg',
    
        controllers : [
            'Main'
        ],
    
        stores : [
            'Settings'
        ],
    
        views : [
            'login.Login'
        ]
    });
    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.
    Best regards
    Tobias Uhlig
    __________

    S-CIRCLES Social Network Engine

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    21
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Thank you for the report.

  3. #3
    Sencha - Community Support Team edspencer's Avatar
    Join Date
    Jan 2009
    Location
    Palo Alto, California
    Posts
    1,939
    Vote Rating
    7
    edspencer is a jewel in the rough edspencer is a jewel in the rough edspencer is a jewel in the rough

      0  

    Default


    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

Thread Participants: 2