Compare commits

...

1 Commits

Author SHA1 Message Date
Niels Hartvig b0230a1586 Rename the javascriptlibrary so it's just a service, not a helperservice :) 2018-03-15 09:32:44 +01:00
2 changed files with 4 additions and 4 deletions
@@ -1,7 +1,7 @@
(function () {
'use strict';
function javascriptLibraryHelperService($q, $http, umbRequestHelper) {
function javascriptLibraryService($q, $http, umbRequestHelper) {
var existingLocales = [];
@@ -33,7 +33,7 @@
}
angular.module('umbraco.services').factory('javascriptLibraryHelperService', javascriptLibraryHelperService);
angular.module('umbraco.services').factory('javascriptLibraryService', javascriptLibraryService);
})();
@@ -1,5 +1,5 @@
angular.module('umbraco.services')
.factory('userService', function ($rootScope, eventsService, $q, $location, $log, securityRetryQueue, authResource, assetsService, dialogService, $timeout, angularHelper, $http, javascriptLibraryHelperService) {
.factory('userService', function ($rootScope, eventsService, $q, $location, $log, securityRetryQueue, authResource, assetsService, dialogService, $timeout, angularHelper, $http, javascriptLibraryService) {
var currentUser = null;
var lastUserId = null;
@@ -304,7 +304,7 @@ angular.module('umbraco.services')
var promises = {
currentUser: this.getCurrentUser(),
supportedLocales: javascriptLibraryHelperService.getSupportedLocalesForMoment()
supportedLocales: javascriptLibraryService.getSupportedLocalesForMoment()
}
$q.all(promises).then((values) => {