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]);
});
}
});