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

evolution.js « filters « common « angularjs « CoreHome « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 14adb00db1513ce0b8a7e5bb3e5df782581d5f32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*!
 * Matomo - free/libre analytics platform
 *
 * @link https://matomo.org
 * @license http://www.gnu.org/licenses/gpl-3.0.html GPL v3 or later
 */
(function () {
    angular.module('piwikApp.filter').filter('evolution', evolutionFilter);

    function evolutionFilter() {
        return function(currentValue, pastValue) {
          return window.CoreHome.getFormattedEvolution(currentValue, pastValue);
        };
    }
})();