Commit f1398a18 authored by Addy Osmani's avatar Addy Osmani

Merge pull request #278 from seanparmelee/gh-pages

Update to Ext JS 4.1.1
parents 1b1c4db0 810da9aa
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
Updates by <a href="http://github.com/boushley">Aaron Boushley</a> Updates by <a href="http://github.com/boushley">Aaron Boushley</a>
</div> </div>
<script src="../../../assets/base.js"></script> <script src="../../../assets/base.js"></script>
<script src="http://extjs.cachefly.net/ext-4.0.2a/bootstrap.js"></script> <script src="http://cdn.sencha.com/ext-4.1.1-gpl/bootstrap.js"></script>
<script src="js/app.js"></script> <script src="js/app.js"></script>
</body> </body>
</html> </html>
...@@ -4,7 +4,8 @@ Ext.define('Todo.view.TaskList' , { ...@@ -4,7 +4,8 @@ Ext.define('Todo.view.TaskList' , {
itemSelector: 'li', itemSelector: 'li',
extend: 'Ext.view.View', extend: 'Ext.view.View',
alias : 'widget.taskList', alias : 'widget.taskList',
autoEl: '<ul id="todo-list" />', autoEl: 'ul',
id: 'todo-list',
tpl: Ext.create('Ext.XTemplate', tpl: Ext.create('Ext.XTemplate',
'<tpl for=".">', '<tpl for=".">',
'<li class="<tpl if="checked">done</tpl> <tpl if="editing">editing</tpl>">', '<li class="<tpl if="checked">done</tpl> <tpl if="editing">editing</tpl>">',
......
Ext.define('Todo.view.TaskToolbar' , { Ext.define('Todo.view.TaskToolbar' , {
hidden: true, hidden: true,
extend: 'Ext.Toolbar', extend: 'Ext.Container',
alias : 'widget.taskToolbar', alias : 'widget.taskToolbar',
autoEl: {tag: 'footer'}, autoEl: {tag: 'footer'},
requires: ['Todo.view.TaskCompleteButton'], requires: ['Todo.view.TaskCompleteButton'],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment