Renaming loadingService to

stable
Jesús Espino 2014-08-29 14:02:57 +02:00
parent 58923eaa81
commit cbcba41ab8
2 changed files with 3 additions and 3 deletions

View File

@ -253,7 +253,7 @@ module.directive("tgLbCreateEditUserstory", [
"$tgResources", "$tgResources",
"$rootScope", "$rootScope",
"lightboxService", "lightboxService",
"loadingService", "$tgLoading",
CreateEditUserstoryDirective CreateEditUserstoryDirective
]) ])

View File

@ -21,7 +21,7 @@
module = angular.module("taigaCommon") module = angular.module("taigaCommon")
class LoadingService extends taiga.Service class TgLoadingService extends taiga.Service
start: (target) -> start: (target) ->
target.data('loading-old-content', target.html()) target.data('loading-old-content', target.html())
target.addClass('loading') target.addClass('loading')
@ -33,4 +33,4 @@ class LoadingService extends taiga.Service
target.html(oldContent) target.html(oldContent)
target.removeClass('loading') target.removeClass('loading')
module.service("loadingService", LoadingService) module.service("$tgLoading", TgLoadingService)