netclock/js/netclock.js

14 lines
264 B
JavaScript
Raw Normal View History

2020-09-12 10:58:38 +00:00
import '../css/netclock.scss';
import log from 'loglevel';
2020-09-12 17:51:47 +00:00
import $ from 'jquery';
2020-09-12 10:58:38 +00:00
if (process.env.LOG_LEVEL) {
log.setDefaultLevel(process.env.LOG_LEVEL);
}
2020-09-13 13:07:11 +00:00
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
export {sleep};