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/CustomDimensions/angularjs/manage/manage.directive.js')
m---------plugins/CustomDimensions0
-rw-r--r--plugins/CustomDimensions/angularjs/manage/manage.directive.js27
2 files changed, 27 insertions, 0 deletions
diff --git a/plugins/CustomDimensions b/plugins/CustomDimensions
deleted file mode 160000
-Subproject 318661a2fb1ef3b3e5d6d999ae8b9628cb5a113
diff --git a/plugins/CustomDimensions/angularjs/manage/manage.directive.js b/plugins/CustomDimensions/angularjs/manage/manage.directive.js
new file mode 100644
index 0000000000..d9c937cb1c
--- /dev/null
+++ b/plugins/CustomDimensions/angularjs/manage/manage.directive.js
@@ -0,0 +1,27 @@
+/*!
+ * 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-custom-dimensions-manage>
+ */
+(function () {
+ angular.module('piwikApp').directive('piwikCustomDimensionsManage', piwikManageCustomDimensions);
+
+ piwikManageCustomDimensions.$inject = ['piwik'];
+
+ function piwikManageCustomDimensions(piwik){
+
+ return {
+ restrict: 'A',
+ scope: {},
+ templateUrl: 'plugins/CustomDimensions/angularjs/manage/manage.directive.html?cb=' + piwik.cacheBuster,
+ controller: 'ManageCustomDimensionsController',
+ controllerAs: 'manageDimensions'
+ };
+ }
+})(); \ No newline at end of file