Ext JS 4 の実行中に Uncaught Syntax Error: Unexpected Token ILLEGAL というエラーが発生し続けます。
これが私のコードです:
Ext.application({ name: 'Sencha', launch: function () {
Ext.create('Ext.tab.Panel', {
fullscreen: true,
tabBarPosition: 'bottom',
defaults: {
styleHtmlContent: true
},
items: [
{
title: 'Home Page',
iconCls: 'home',
html: [
'<img width="30%" src="http://staging.sencha.com/img/sencha.png" />',
'<h1>Welcome to Sencha Touch</h1>',
"<p>you're creating the Getting Started app. This demonstrates how ",
"to use tabs, lists and forms to create a simple app</p>",
'<h2>Sencha Touch 2 </h2>
].join("")
}
]
});
}
});