1
我在谷歌Chrome瀏覽器中測試這個javascript,它給了我一個錯誤:Uncaught SyntaxError:意外標識符。Sencha:Uncaught語法錯誤:意外標識符
Ext.application({
name: 'Sencha',
launch: function() {
Ext.create("Ext.tab.Panel",{
fullscreen: true,
tabBarPosition: 'bottom',
var image = Ext.widget('image',{
xtype: "image",
src: "images.jpg",
scope: this
});
this.add([image]);
});
}
});