From f5251314dbaf01aaaf2d45f739668cfbff339107 Mon Sep 17 00:00:00 2001 From: Frederic Junod Date: Fri, 23 Feb 2018 13:34:50 +0100 Subject: [PATCH] Remove unused compile service --- src/layertree/component.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/layertree/component.js b/src/layertree/component.js index 350ebbf14a8..db4431a27d0 100644 --- a/src/layertree/component.js +++ b/src/layertree/component.js @@ -110,7 +110,6 @@ ngeo.layertree.component.value('ngeoLayertreeTemplateUrl', * } * @htmlAttribute {string} ngeo-layertree-listenersexpr Expression that will be parsed * to be a {@link ngeo-layertree-listeners}. - * @param {angular.$compile} $compile Angular compile service. * @param {string|function(!angular.JQLite=, !angular.Attributes=)} * ngeoLayertreeTemplateUrl Template URL for the directive. * @return {angular.Directive} The Directive Definition Object. @@ -118,7 +117,7 @@ ngeo.layertree.component.value('ngeoLayertreeTemplateUrl', * @ngdoc directive * @ngname ngeoLayertree */ -ngeo.layertree.component.directive_ = function($compile, ngeoLayertreeTemplateUrl) { +ngeo.layertree.component.directive_ = function(ngeoLayertreeTemplateUrl) { return { restrict: 'A', scope: true,