2014-03-27 1 views
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" 
} 

, mystore.js의 경우 x-bootstrap을 true로 설정합니다. 어떤 생각? 사전에

감사합니다!

답변

0

문제가있는 것처럼 보입니다. 내가 이렇게 바꾼 후에 :

{ 
    "path": "touch/sencha-touch.js", 
    "x-bootstrap": true 
}, 
{ 
    "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" 
}, 
{ 
    "path": "res/mystore.js" 
} 

완벽하게 작동합니다.

관련 문제