1
我有一个Sencha Touch 2应用程序(非MVC),它工作正常,除了一个JS文件。在那里我定义了一家商店。 在app.json
我包括sencha-touch.js
和这个文件也。这是正确的建设,但是当我打开网页是说在Sencha CMD中包含Ext后的JS文件
Object has no method 'create'
我app.json:
{
"path": "touch/sencha-touch.js",
"x-bootstrap": true
},
{
"path": "res/mystore.js"
},
{
"path": "bootstrap.js",
"x-bootstrap": true
},
{
"path": "app.js",
"bundle": true, /* Indicates that all class dependencies are concatenated into this file when build */
"update": "delta"
}
我试过很多东西,但似乎没有奏效,更改顺序, x-bootstrap为mystore.js为true,但没有任何结果。任何想法?
在此先感谢!