From 2d7e5c9ea3ee233dc68aab83a16cf118f426ad2c Mon Sep 17 00:00:00 2001 From: diosmosis <benaka@piwik.pro> Date: Wed, 1 Oct 2014 21:33:18 -0700 Subject: [PATCH] Do not create isolated scope for piwik-translate angularjs directive. --- plugins/CoreHome/angularjs/common/directives/translate.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/plugins/CoreHome/angularjs/common/directives/translate.js b/plugins/CoreHome/angularjs/common/directives/translate.js index dd1edbf460..cbf7896e9e 100644 --- a/plugins/CoreHome/angularjs/common/directives/translate.js +++ b/plugins/CoreHome/angularjs/common/directives/translate.js @@ -25,9 +25,6 @@ function piwikTranslate() { return { restrict: 'A', - scope: { - piwikTranslate: '@' - }, compile: function(element, attrs) { var parts = element.html().split('::'), translated = _pk_translate(attrs.piwikTranslate, parts); -- GitLab