Commit dcd98b74 authored by Pascal Hartig's avatar Pascal Hartig

dermis: jshint style for routes

parent 4965102c
define(['js/models/Todo', 'js/models/Todos'], function(Todo, Todos){ /*global define $*/
var app = { define(['js/models/Todo', 'js/models/Todos'], function (Todo, Todos) {
show: function(){ 'use strict';
Todos.set('mode', 'active');
$('.selected').removeClass('selected'); var app = {
$('a[href$="#/active"]').addClass('selected'); show: function () {
} Todos.set('mode', 'active');
}; $('.selected').removeClass('selected');
return app; $('a[href$="#/active"]').addClass('selected');
}); }
\ No newline at end of file };
return app;
});
define(['js/models/Todo', 'js/models/Todos'], function(Todo, Todos){ /*global define $*/
var app = { define(['js/models/Todo', 'js/models/Todos'], function (Todo, Todos) {
show: function(){ 'use strict';
Todos.set('mode', 'completed');
$('.selected').removeClass('selected'); var app = {
$('a[href$="#/completed"]').addClass('selected'); show: function () {
} Todos.set('mode', 'completed');
}; $('.selected').removeClass('selected');
return app; $('a[href$="#/completed"]').addClass('selected');
}); }
\ No newline at end of file };
return app;
});
define(['js/models/Todo', 'js/models/Todos'], function(Todo, Todos){ /*global define $*/
var app = { define(['js/models/Todo', 'js/models/Todos'], function (Todo, Todos) {
show: function(){ 'use strict';
Todos.set('mode', 'all');
$('.selected').removeClass('selected'); var app = {
$('a[href$="#/"]').addClass('selected'); show: function () {
} Todos.set('mode', 'all');
}; $('.selected').removeClass('selected');
return app; $('a[href$="#/"]').addClass('selected');
}); }
\ No newline at end of file };
return app;
});
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