Sha256: 9d9c37a34e0d782bfe89c989f3dbb3f41c93ecd7354e6e1f64120c83b6a91322

Contents?: true

Size: 319 Bytes

Versions: 2

Compression:

Stored size: 319 Bytes

Contents

// = require chartkick
// = require Chart.bundle
// = require_self

$(() => {
    //create trigger to resizeEnd event
    $(window).resize(() => {
        if(window.resizeTO) clearTimeout(window.resizeTO);
        window.resizeTO = setTimeout(() => {
        $(window).trigger('resizeEnd');
        }, 100);
    });
});

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
decidim-comparative_stats-1.1.0 app/assets/javascripts/decidim/comparative_stats/graphs.js.es6
decidim-comparative_stats-1.0.1 app/assets/javascripts/decidim/comparative_stats/graphs.js.es6