Renames all tests according to angularseed's style convention.
Refactors subsonic service's getStarred method to use angular $http and to limit results on the client side since we can't do it with Subsonic's API. Adds a working unit test for this new method.
This commit is contained in:
parent
fb8bf0ef24
commit
2c6276cced
8 changed files with 89 additions and 40 deletions
|
@ -70,7 +70,7 @@ jamstash.service('utils', function ($rootScope, $cookieStore, globals) {
|
|||
this.switchTheme = function (theme) {
|
||||
switch (theme.toLowerCase()) {
|
||||
case 'dark':
|
||||
$('link[data-name=theme]').attr('href', 'style/Dark.css');
|
||||
$('link[data-name=theme]').attr('href', 'styles/Dark.css');
|
||||
break;
|
||||
case 'default':
|
||||
$('link[data-name=theme]').attr('href', '');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue