Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/CorePluginsAdmin/angularjs/plugin-settings/plugin-settings.directive.js')
-rw-r--r--plugins/CorePluginsAdmin/angularjs/plugin-settings/plugin-settings.directive.js44
1 files changed, 0 insertions, 44 deletions
diff --git a/plugins/CorePluginsAdmin/angularjs/plugin-settings/plugin-settings.directive.js b/plugins/CorePluginsAdmin/angularjs/plugin-settings/plugin-settings.directive.js
deleted file mode 100644
index dbc71c135e..0000000000
--- a/plugins/CorePluginsAdmin/angularjs/plugin-settings/plugin-settings.directive.js
+++ /dev/null
@@ -1,44 +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-plugin-settings>
- */
-(function () {
- angular.module('piwikApp').directive('piwikPluginSettings', piwikPluginSettings);
-
- piwikPluginSettings.$inject = ['piwik'];
-
- function piwikPluginSettings(piwik){
- var defaults = {
- mode: ''
- };
-
- return {
- restrict: 'A',
- scope: {
- mode: '@'
- },
- templateUrl: 'plugins/CorePluginsAdmin/angularjs/plugin-settings/plugin-settings.directive.html?cb=' + piwik.cacheBuster,
- controller: 'PluginSettingsController',
- controllerAs: 'pluginSettings',
- compile: function (element, attrs) {
-
- for (var index in defaults) {
- if (defaults.hasOwnProperty(index) && attrs[index] === undefined) {
- attrs[index] = defaults[index];
- }
- }
-
- return function (scope, element, attrs) {
-
- };
- }
- };
- }
-})(); \ No newline at end of file