Sha256: 5264ad09c371f7301614a7b767975ae00bbb3f77848bd12dd83b95409083fdbc
Contents?: true
Size: 864 Bytes
Versions: 21
Compression:
Stored size: 864 Bytes
Contents
function updateTimeAgo() { var selection = document.querySelectorAll('time'); if (selection.length != 0) { timeago.render(selection); timeago.cancel() } } function displayUi() { var content = document.getElementById('content'); content.style.display = 'inherit'; } function redirectToPartition() { var selector = document.getElementById('current-partition'); if (selector == null) { return } selector.addEventListener('change', function(){ location.href = this.value; }); } function addListeners() { bindPollingButtonClick(); setLivePollButton(); setPollingListener(); hljs.highlightAll(); updateTimeAgo(); redirectToPartition(); displayUi(); } var ready = (callback) => { if (document.readyState != 'loading') callback(); else document.addEventListener('DOMContentLoaded', callback); } ready(addListeners)
Version data entries
21 entries across 21 versions & 1 rubygems