Commit a8ebcfb8 authored by Pascal Hartig's avatar Pascal Hartig

YUI: jshint annotations

parent 58dfbb06
/*global YUI*/
YUI.add('todo-app', function (Y) {
'use strict';
......@@ -97,15 +98,15 @@ YUI.add('todo-app', function (Y) {
// An Array of models is passed through when the 'reset'
// event is triggered through syncing through load().
switch (this.get('filter')) {
case 'active':
models = todoList.remaining();
break;
case 'completed':
models = todoList.completed();
break;
default:
models = todoList;
break;
case 'active':
models = todoList.remaining();
break;
case 'completed':
models = todoList.completed();
break;
default:
models = todoList;
break;
}
// Iterate through the (filtered) ModelList.
......
/*global YUI*/
YUI.add('todo', function (Y) {
'use strict';
......
/*global YUI*/
YUI.add('todo-list', function (Y) {
'use strict';
......
/*global YUI*/
YUI.add('todo-view', function (Y) {
'use strict';
......
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