0
У меня есть некоторые проблемы в этой части кода JavaScript в Sencha Touch, и я не знаю, как его решить.Веб-приложение sencha touch error
new Ext.application({
name: 'TouchStart',
launch: function() {
this.viewport = new Ext.Panel({
fullscreen: true,
bodyPadding: 5,
dockedItems: [ {
dock : 'top',
xtype: 'toolbar',
title: 'Touch Start'
}, {
dock : 'top',
xtype: 'toolbar',
items: [{
text: 'Hello Button'
}]
}],
html: 'Hello Panel'
});
}
});
Консоль показывает:
This.viewport = new Ext.Panel({
> Uncaught TypeError: undefined is not a function