Заглядывая в ExtJS 4, я пытаюсь выполнить урок "Hello World" здесь: http://www.sencha.com/learn/getting-started-with-ext-js-4/
У меня все мои файлы настроены в соответствии с рекомендациями в уроке:
![enter image description here](https://i.stack.imgur.com/LJwnu.png)
Но я продолжаю получать сообщение об ошибке из-за необычного синтаксиса, который запускает их файл:
![enter image description here](https://i.stack.imgur.com/Oytk6.png)
Я не использую JQuery или любые другие библиотеки -поскольку Sencha должен быть полной средой javascript.
Вот полный код:
app.js
<a href="#!/api/Ext-method-application" rel="Ext-method-application" class="docClass">Ext.application</a>({
name: 'HelloExt',
launch: function() {
<a href="#!/api/Ext-method-create" rel="Ext-method-create" class="docClass">Ext.create</a>('<a href="#!/api/Ext.container.Viewport" rel="Ext.container.Viewport" class="docClass">Ext.container.Viewport</a>', {
layout: 'fit',
items: [
{
title: 'Hello Ext',
html : 'Hello! Welcome to Ext JS.'
}
]
});
}
});
index.html
<!doctype html>
<html>
<head>
<title>Hello Ext</title>
<link rel="stylesheet" type="text/css" href="extjs/resources/css/ext-all.css">
<script type="text/javascript" src="extjs/ext-debug.js"></script>
<script type="text/javascript" src="app.js"></script>
</head>
<body></body>
</html>
Есть идеи о том, что может быть виновником?