diff options
Diffstat (limited to 'plugins/UserCountry/angularjs/location-provider-selection/location-provider-selection.directive.js')
-rw-r--r-- | plugins/UserCountry/angularjs/location-provider-selection/location-provider-selection.directive.js | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/plugins/UserCountry/angularjs/location-provider-selection/location-provider-selection.directive.js b/plugins/UserCountry/angularjs/location-provider-selection/location-provider-selection.directive.js deleted file mode 100644 index e5bc4efb5b..0000000000 --- a/plugins/UserCountry/angularjs/location-provider-selection/location-provider-selection.directive.js +++ /dev/null @@ -1,33 +0,0 @@ -/*! - * Matomo - free/libre analytics platform - * - * @link https://matomo.org - * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later - */ - -/** - * Usage: - * <div piwik-location-provider-selection> - */ -(function () { - angular.module('piwikApp').directive('piwikLocationProviderSelection', piwikLocationProviderSelection); - - piwikLocationProviderSelection.$inject = ['piwik']; - - function piwikLocationProviderSelection(piwik){ - - return { - restrict: 'A', - transclude: true, - controller: 'LocationProviderSelectionController', - controllerAs: 'locationSelector', - template: '<div ng-transclude></div>', - compile: function (element, attrs) { - - return function (scope, element, attrs, controller) { - controller.selectedProvider = attrs.piwikLocationProviderSelection; - }; - } - }; - } -})();
\ No newline at end of file |