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/Feedback/angularjs/feedback-popup/feedback-popup.directive.js')
-rw-r--r--plugins/Feedback/angularjs/feedback-popup/feedback-popup.directive.js38
1 files changed, 0 insertions, 38 deletions
diff --git a/plugins/Feedback/angularjs/feedback-popup/feedback-popup.directive.js b/plugins/Feedback/angularjs/feedback-popup/feedback-popup.directive.js
deleted file mode 100644
index 4614c88dc8..0000000000
--- a/plugins/Feedback/angularjs/feedback-popup/feedback-popup.directive.js
+++ /dev/null
@@ -1,38 +0,0 @@
-/*!
- * Matomo - free/libre analytics platform
- *
- * @link http://matomo.org
- * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
- */
-
-/**
- * Usage:
- * <div piwik-feedback-popup>
- */
-(function () {
- angular.module('piwikApp').directive('piwikFeedbackPopup', piwikFeedbackPopup);
-
- piwikFeedbackPopup.$inject = ['piwik'];
-
- function piwikFeedbackPopup(piwik){
- var defaults = {
- };
-
- return {
- restrict: 'A',
- scope: {
- promptForFeedback: '<'
- },
- templateUrl: 'plugins/Feedback/angularjs/feedback-popup/feedback-popup.directive.html?cb=' + piwik.cacheBuster,
- controller: 'FeedbackPopupController',
- controllerAs: 'feedbackPopup',
- compile: function (element, attrs) {
- for (var index in defaults) {
- if (defaults.hasOwnProperty(index) && attrs[index] === undefined) {
- attrs[index] = defaults[index];
- }
- }
- }
- };
- }
-})(); \ No newline at end of file