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

manage-custom-vars.controller.js « manage-custom-vars « angularjs « CustomVariables « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4cbc8dc3e890cd2a81996247112ec0be49ecb4c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*!
 * Piwik - free/libre analytics platform
 *
 * @link http://piwik.org
 * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
 */
(function () {
    angular.module('piwikApp').controller('ManageCustomVarsController', ManageCustomVarsController);

    ManageCustomVarsController.$inject = ['manageCustomVarsModel', 'piwik', '$filter'];

    function ManageCustomVarsController(manageCustomVarsModel, piwik, $filter) {
        manageCustomVarsModel.fetchUsages();

        this.model = manageCustomVarsModel;
        this.siteName = piwik.siteName;
        this.scopes = ['visit', 'page'];
    }
})();