Fixes tsquillario/Jamstash#206
- We no longer use toString() if the album's artist info is missing. - Moved date formatting to utils-service.js and added TODOs to use angular filters instead - Cleaned up utils-service.js and remove unused functions - We no longer exclude vendor js files in karma, so we can test our call to jquery.dateFormat
This commit is contained in:
parent
c90eb9f211
commit
f1870f2f5b
6 changed files with 56 additions and 87 deletions
|
@ -270,9 +270,6 @@ angular.module('JamStash')
|
|||
$scope.isActive = function (route) {
|
||||
return route === $location.path();
|
||||
};
|
||||
$rootScope.reloadRoute = function (reload) {
|
||||
utils.reloadRoute(reload);
|
||||
};
|
||||
$rootScope.getSplitPosition = function (scope, elm) {
|
||||
window.alert(elm.getBoundingClientRect().left);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue