Skip to content
This repository was archived by the owner on Jul 11, 2018. It is now read-only.

Added fixes to pass baseline code quality tool evaluation (strict mode, quotemarks, semicolon) #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ angular.module('starter', ['ionic', 'starter.controllers', 'starter.services'])

// setup an abstract state for the tabs directive
.state('tab', {
url: "/tab",
url: '/tab',
abstract: true,
templateUrl: "templates/tabs.html"
templateUrl: 'templates/tabs.html'
})

// Each tab has its own nav history stack:
Expand Down
6 changes: 4 additions & 2 deletions js/controllers.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
angular.module('starter.controllers', [])

.controller('DashCtrl', function($scope) {})
.controller('DashCtrl', function($scope) {
$scope.dash = {} ;
})

.controller('ChatsCtrl', function($scope, Chats) {
$scope.chats = Chats.all();
$scope.remove = function(chat) {
Chats.remove(chat);
}
};
})

.controller('ChatDetailCtrl', function($scope, $stateParams, Chats) {
Expand Down
4 changes: 2 additions & 2 deletions js/services.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ angular.module('starter.services', [])
}
return null;
}
}
};
})

/**
Expand Down Expand Up @@ -93,5 +93,5 @@ angular.module('starter.services', [])
// Simple index lookup
return friends[friendId];
}
}
};
});