0
我在Sencha Touch的JavaScript代码的这一部分有一些问题,我不知道如何解决它。网络应用sencha触摸错误
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