Sha256: 57b85b1292d5d3f0f337b26143bd0dfc2bb1d11a5ffa13cf79bfe960d9f90e84

Contents?: true

Size: 383 Bytes

Versions: 103

Compression:

Stored size: 383 Bytes

Contents

const atomeTime = {
    schedule: function (years, months, days, hours, minutes, seconds, atome, proc) {
        const now = new Date();
        const formatDate = new Date(years, months - 1, days, hours, minutes, seconds);
        const diffTime = Math.abs(formatDate - now);
        setTimeout(function () {
            atome.$schedule_callback(proc);
        }, diffTime);
    }
}

Version data entries

103 entries across 103 versions & 1 rubygems

Version Path
atome-0.5.7.6.5 vendor/assets/src/js/atome/atome_helpers/atome_time.js
atome-0.5.7.6.0 vendor/assets/src/js/atome/atome_helpers/atome_time.js
atome-0.5.7.5.9 vendor/assets/src/js/atome/atome_helpers/atome_time.js
atome-0.5.7.5.4 vendor/assets/src/js/atome/atome_helpers/atome_time.js
atome-0.5.7.5.3 vendor/assets/src/js/atome/atome_helpers/atome_time.js
atome-0.5.7.5.1 vendor/assets/src/js/atome/atome_helpers/atome_time.js
atome-0.5.7.4.8 vendor/assets/src/js/atome/atome_helpers/atome_time.js
atome-0.5.7.4.7 vendor/assets/src/js/atome/atome_helpers/atome_time.js
atome-0.5.7.4.6 vendor/assets/src/js/atome/atome_helpers/atome_time.js
atome-0.5.7.4.3 vendor/assets/src/js/atome/atome_helpers/atome_time.js
atome-0.5.7.4.2 vendor/assets/src/js/atome/atome_helpers/atome_time.js
atome-0.5.7.3.9 vendor/assets/src/js/atome/atome_helpers/atome_time.js
atome-0.5.7.3.6 vendor/assets/src/js/atome/atome_helpers/atome_time.js
atome-0.5.7.3.5 vendor/assets/src/js/atome/atome_helpers/atome_time.js
atome-0.5.7.3.3 vendor/assets/src/js/atome/atome_helpers/atome_time.js
atome-0.5.7.3.2 vendor/assets/src/js/atome/atome_helpers/atome_time.js
atome-0.5.7.3.1 vendor/assets/src/js/atome/atome_helpers/atome_time.js
atome-0.5.7.3.0 vendor/assets/src/js/atome/atome_helpers/atome_time.js
atome-0.5.7.1.8 vendor/assets/src/js/atome/atome_helpers/atome_time.js
atome-0.5.7.1.7 vendor/assets/src/js/atome/atome_helpers/atome_time.js