(js) New 'ready' method for Preferences service

This method returns a promise that succeeds when the user's defaults and
settings have been received from the server.
This commit is contained in:
Francis Lachapelle
2015-07-08 14:49:40 -04:00
parent 396892b0e1
commit 066bdc5f3f
2 changed files with 19 additions and 10 deletions
+1 -1
View File
@@ -82,7 +82,7 @@
*/
statePreferences.$inject = ['Preferences'];
function statePreferences(Preferences) {
return new Preferences();
return Preferences;
}
})();