From 55ee95573bcc579c45c1cd580ca0906dcfcdbbc2 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Tue, 8 Mar 2016 16:56:39 -0300 Subject: [PATCH] Remove unused dependencies from cms component --- src/app/cms/cms.component.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/app/cms/cms.component.ts b/src/app/cms/cms.component.ts index fb61208..9f2a9e6 100644 --- a/src/app/cms/cms.component.ts +++ b/src/app/cms/cms.component.ts @@ -11,7 +11,7 @@ import {ProfileService} from "../../lib/ng-noosfero-api/http/profile.service"; provide('profileService', { useClass: ProfileService }) ] }) -@Inject(ArticleService, ProfileService, "$stateParams", "$httpParamSerializer", "$state", "SweetAlert") +@Inject(ArticleService, ProfileService, "$state", "SweetAlert") export class Cms { article: any = {}; @@ -19,8 +19,6 @@ export class Cms { constructor(private articleService: ArticleService, private profileService: ProfileService, - private $stateParams: ng.ui.IStateParamsService, - private $httpParamSerializer: any, private $state: ng.ui.IStateService, private SweetAlert: any) { } save() { -- libgit2 0.21.2