コマンドを使用してアプリをビルドしようとしていsencha app build
ますが、次のエラーが発生します:
[エラー]TypeError:'undefined'はオブジェクトではありませんスタックトレース:
file://// public / m / app / controller / Nearby.js?_dc = 1337687749349:62:App.controller.Nearby#notify
これは私のnotify()です:
notify: function(title, message){
var view = this.getView();
view.setItems({
xtype: 'panel',
html: '<h2>' + title + '</h2><p>' + message + '</p>',
styleHtmlContent: true
});
}
ビューはそのような参照です
refs: { view: 'nearbyview' },
そして、App.view.Nearby
別のビューの必要なビューに追加されました。
SDKツールの最後のバージョンを実行しています。