Replacing usage of with everywhere

stable
Jesús Espino 2014-08-28 11:58:24 +02:00
parent 710589d5df
commit f1c945c4df
17 changed files with 23 additions and 23 deletions

View File

@ -43,7 +43,7 @@ class ProjectProfileController extends mixOf(taiga.Controller, taiga.PageMixin)
"$tgResources", "$tgResources",
"$routeParams", "$routeParams",
"$q", "$q",
"$location", "$tgLocation",
"$appTitle" "$appTitle"
] ]
@ -161,5 +161,5 @@ ProjectFeaturesDirective = ($rootscope, $log, $repo, $confirm) ->
return {link:link} return {link:link}
module.directive("tgProjectProfile", ["$rootScope", "$log", "$tgRepo", "$tgConfirm", "$location", ProjectProfileDirective]) module.directive("tgProjectProfile", ["$rootScope", "$log", "$tgRepo", "$tgConfirm", "$tgLocation", ProjectProfileDirective])
module.directive("tgProjectFeatures", ["$rootScope", "$log", "$tgRepo", "$tgConfirm", ProjectFeaturesDirective]) module.directive("tgProjectFeatures", ["$rootScope", "$log", "$tgRepo", "$tgConfirm", ProjectFeaturesDirective])

View File

@ -43,7 +43,7 @@ class ProjectValuesController extends mixOf(taiga.Controller, taiga.PageMixin)
"$tgResources", "$tgResources",
"$routeParams", "$routeParams",
"$q", "$q",
"$location", "$tgLocation",
"$appTitle" "$appTitle"
] ]

View File

@ -181,7 +181,7 @@ LoginDirective = ($auth, $confirm, $location, $config, $routeParams, $navUrls) -
return {link:link} return {link:link}
module.directive("tgLogin", ["$tgAuth", "$tgConfirm", "$location", "$tgConfig", "$routeParams", "$tgNavUrls", module.directive("tgLogin", ["$tgAuth", "$tgConfirm", "$tgLocation", "$tgConfig", "$routeParams", "$tgNavUrls",
LoginDirective]) LoginDirective])
############################################################################# #############################################################################
@ -221,7 +221,7 @@ RegisterDirective = ($auth, $confirm, $location, $config, $navUrls) ->
return {link:link} return {link:link}
module.directive("tgRegister", ["$tgAuth", "$tgConfirm", "$location", "$tgConfig", "$tgNavUrls", module.directive("tgRegister", ["$tgAuth", "$tgConfirm", "$tgLocation", "$tgConfig", "$tgNavUrls",
RegisterDirective]) RegisterDirective])
############################################################################# #############################################################################
@ -261,7 +261,7 @@ ForgotPasswordDirective = ($auth, $confirm, $location, $navUrls) ->
return {link:link} return {link:link}
module.directive("tgForgotPassword", ["$tgAuth", "$tgConfirm", "$location", "$tgNavUrls", module.directive("tgForgotPassword", ["$tgAuth", "$tgConfirm", "$tgLocation", "$tgNavUrls",
ForgotPasswordDirective]) ForgotPasswordDirective])
############################################################################# #############################################################################
@ -306,7 +306,7 @@ ChangePasswordFromRecoveryDirective = ($auth, $confirm, $location, $params, $nav
return {link:link} return {link:link}
module.directive("tgChangePasswordFromRecovery", ["$tgAuth", "$tgConfirm", "$location", "$routeParams", module.directive("tgChangePasswordFromRecovery", ["$tgAuth", "$tgConfirm", "$tgLocation", "$routeParams",
"$tgNavUrls", ChangePasswordFromRecoveryDirective]) "$tgNavUrls", ChangePasswordFromRecoveryDirective])
############################################################################# #############################################################################
@ -387,7 +387,7 @@ InvitationDirective = ($auth, $confirm, $location, $params, $config, $navUrls) -
return {link:link} return {link:link}
module.directive("tgInvitation", ["$tgAuth", "$tgConfirm", "$location", "$routeParams", "$tgConfig", module.directive("tgInvitation", ["$tgAuth", "$tgConfirm", "$tgLocation", "$routeParams", "$tgConfig",
"$tgNavUrls", InvitationDirective]) "$tgNavUrls", InvitationDirective])
############################################################################# #############################################################################
@ -427,5 +427,5 @@ ChangeEmailDirective = ($repo, $model, $auth, $confirm, $location, $params, $nav
return {link:link} return {link:link}
module.directive("tgChangeEmail", ["$tgRepo", "$tgModel", "$tgAuth", "$tgConfirm", "$location", "$routeParams", module.directive("tgChangeEmail", ["$tgRepo", "$tgModel", "$tgAuth", "$tgConfirm", "$tgLocation", "$routeParams",
"$tgNavUrls", ChangeEmailDirective]) "$tgNavUrls", ChangeEmailDirective])

View File

@ -123,4 +123,4 @@ NavigationUrlsDirective = ($navurls, $auth, $q, $location) ->
return {link: link} return {link: link}
module.directive("tgNav", ["$tgNavUrls", "$tgAuth", "$q", "$location", NavigationUrlsDirective]) module.directive("tgNav", ["$tgNavUrls", "$tgAuth", "$q", "$tgLocation", NavigationUrlsDirective])

View File

@ -42,7 +42,7 @@ class IssueDetailController extends mixOf(taiga.Controller, taiga.PageMixin, tai
"$tgResources", "$tgResources",
"$routeParams", "$routeParams",
"$q", "$q",
"$location", "$tgLocation",
"$log", "$log",
"$appTitle", "$appTitle",
"$tgNavUrls" "$tgNavUrls"

View File

@ -46,7 +46,7 @@ class IssuesController extends mixOf(taiga.Controller, taiga.PageMixin, taiga.Fi
"$tgUrls", "$tgUrls",
"$routeParams", "$routeParams",
"$q", "$q",
"$location", "$tgLocation",
"$appTitle", "$appTitle",
"tgLoader" "tgLoader"
] ]

View File

@ -185,7 +185,7 @@ ProjectsNavigationDirective = ($rootscope, animationFrame, $timeout, tgLoader, $
return {link: link} return {link: link}
module.directive("tgProjectsNav", ["$rootScope", "animationFrame", "$timeout", "tgLoader", "$location", module.directive("tgProjectsNav", ["$rootScope", "animationFrame", "$timeout", "tgLoader", "$tgLocation",
ProjectsNavigationDirective]) ProjectsNavigationDirective])

View File

@ -90,4 +90,4 @@ DeleteProjectDirective = ($repo, $rootscope, $auth, $location, lightboxService)
return {link:link} return {link:link}
module.directive("tgLbDeleteProject", ["$tgRepo", "$rootScope", "$tgAuth", "$location", "lightboxService", DeleteProjectDirective]) module.directive("tgLbDeleteProject", ["$tgRepo", "$rootScope", "$tgAuth", "$tgLocation", "lightboxService", DeleteProjectDirective])

View File

@ -3,7 +3,7 @@ module = angular.module("taigaProject")
bindOnce = @.taiga.bindOnce bindOnce = @.taiga.bindOnce
class ProjectsController extends taiga.Controller class ProjectsController extends taiga.Controller
@.$inject = ["$scope", "$tgResources", "$rootScope", "$tgNavUrls", "$tgAuth", "$location", "$appTitle", "$projectUrl", "tgLoader"] @.$inject = ["$scope", "$tgResources", "$rootScope", "$tgNavUrls", "$tgAuth", "$tgLocation", "$appTitle", "$projectUrl", "tgLoader"]
constructor: (@scope, @rs, @rootscope, @navurls, $auth, $location, appTitle, @projectUrl, tgLoader) -> constructor: (@scope, @rs, @rootscope, @navurls, $auth, $location, appTitle, @projectUrl, tgLoader) ->
appTitle.set("Projects") appTitle.set("Projects")

View File

@ -40,7 +40,7 @@ class SearchController extends mixOf(taiga.Controller, taiga.PageMixin)
"$tgResources", "$tgResources",
"$routeParams", "$routeParams",
"$q", "$q",
"$location", "$tgLocation",
"$appTitle", "$appTitle",
"tgLoader" "tgLoader"
] ]

View File

@ -39,7 +39,7 @@ class TaskDetailController extends mixOf(taiga.Controller, taiga.PageMixin, taig
"$tgResources", "$tgResources",
"$routeParams", "$routeParams",
"$q", "$q",
"$location", "$tgLocation",
"$log", "$log",
"$appTitle", "$appTitle",
"$tgNavUrls" "$tgNavUrls"

View File

@ -39,7 +39,7 @@ class UserChangePasswordController extends mixOf(taiga.Controller, taiga.PageMix
"$tgResources", "$tgResources",
"$routeParams", "$routeParams",
"$q", "$q",
"$location", "$tgLocation",
"$tgAuth" "$tgAuth"
] ]

View File

@ -59,4 +59,4 @@ DeleteUserDirective = ($repo, $rootscope, $auth, $location, lightboxService) ->
return {link:link} return {link:link}
module.directive("tgLbDeleteUser", ["$tgRepo", "$rootScope", "$tgAuth", "$location", "lightboxService", DeleteUserDirective]) module.directive("tgLbDeleteUser", ["$tgRepo", "$rootScope", "$tgAuth", "$tgLocation", "lightboxService", DeleteUserDirective])

View File

@ -37,7 +37,7 @@ class UserSettingsController extends mixOf(taiga.Controller, taiga.PageMixin)
"$tgResources", "$tgResources",
"$routeParams", "$routeParams",
"$q", "$q",
"$location", "$tgLocation",
"$tgAuth" "$tgAuth"
] ]

View File

@ -39,7 +39,7 @@ class UserNotificationsController extends mixOf(taiga.Controller, taiga.PageMixi
"$tgResources", "$tgResources",
"$routeParams", "$routeParams",
"$q", "$q",
"$location", "$tgLocation",
"$tgAuth" "$tgAuth"
] ]

View File

@ -40,7 +40,7 @@ class UserStoryDetailController extends mixOf(taiga.Controller, taiga.PageMixin,
"$tgResources", "$tgResources",
"$routeParams", "$routeParams",
"$q", "$q",
"$location", "$tgLocation",
"$log", "$log",
"$appTitle", "$appTitle",
"$tgNavUrls" "$tgNavUrls"

View File

@ -41,7 +41,7 @@ class WikiDetailController extends mixOf(taiga.Controller, taiga.PageMixin, taig
"$tgResources", "$tgResources",
"$routeParams", "$routeParams",
"$q", "$q",
"$location", "$tgLocation",
"$filter", "$filter",
"$log", "$log",
"$appTitle" "$appTitle"