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 $*/
define(['js/models/Todo', 'js/models/Todos'], function (Todo, Todos) {
'use strict';
var app = {
show: function(){
show: function () {
Todos.set('mode', 'active');
$('.selected').removeClass('selected');
$('a[href$="#/active"]').addClass('selected');
......
define(['js/models/Todo', 'js/models/Todos'], function(Todo, Todos){
/*global define $*/
define(['js/models/Todo', 'js/models/Todos'], function (Todo, Todos) {
'use strict';
var app = {
show: function(){
show: function () {
Todos.set('mode', 'completed');
$('.selected').removeClass('selected');
$('a[href$="#/completed"]').addClass('selected');
......
define(['js/models/Todo', 'js/models/Todos'], function(Todo, Todos){
/*global define $*/
define(['js/models/Todo', 'js/models/Todos'], function (Todo, Todos) {
'use strict';
var app = {
show: function(){
show: function () {
Todos.set('mode', 'all');
$('.selected').removeClass('selected');
$('a[href$="#/"]').addClass('selected');
......
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