Commit a8ebcfb8 authored by Pascal Hartig's avatar Pascal Hartig

YUI: jshint annotations

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