translations: move some computations to server start-up, remove console.log, add translations to $rootScope, update readme, update user.preference.language if not set

This commit is contained in:
Matteo Pagliazzi
2013-11-13 22:01:02 +01:00
parent 72207ac1e2
commit 83d9368c2e
4 changed files with 26 additions and 19 deletions

View File

@@ -40,7 +40,6 @@ habitrpg.controller('SettingsCtrl',
$rootScope.$on('userSynced', function(){
location.reload();
});
console.log($scope.language);
User.set('preferences.language', $scope.language);
}