diff options
Diffstat (limited to 'plugins/ScheduledReports/angularjs/manage-scheduled-report/manage-scheduled-report.directive.js')
-rw-r--r-- | plugins/ScheduledReports/angularjs/manage-scheduled-report/manage-scheduled-report.directive.js | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/plugins/ScheduledReports/angularjs/manage-scheduled-report/manage-scheduled-report.directive.js b/plugins/ScheduledReports/angularjs/manage-scheduled-report/manage-scheduled-report.directive.js new file mode 100644 index 0000000000..d130fc61f7 --- /dev/null +++ b/plugins/ScheduledReports/angularjs/manage-scheduled-report/manage-scheduled-report.directive.js @@ -0,0 +1,30 @@ +/*! + * Piwik - free/libre analytics platform + * + * @link http://piwik.org + * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later + */ + +var getReportParametersFunctions = Object(); +var updateReportParametersFunctions = Object(); +var resetReportParametersFunctions = Object(); + +/** + * Usage: + * <div piwik-manage-scheduled-report> + */ +(function () { + angular.module('piwikApp').directive('piwikManageScheduledReport', piwikManageScheduledReport); + + piwikManageScheduledReport.$inject = ['piwik']; + + function piwikManageScheduledReport(piwik){ + + return { + restrict: 'A', + priority: 10, + controller: 'ManageScheduledReportController', + controllerAs: 'manageScheduledReport' + }; + } +})();
\ No newline at end of file |