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

theme.js « static - github.com/GDGToulouse/devfest-theme-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 298999d0e526fd60ec4e52e3c99957665a2f28c8 (plain)
1
window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(e,o){o=o||window;for(var r=0;r<this.length;r++)e.call(o,this[r],r,this)}),"serviceWorker"in navigator&&window.addEventListener("load",function(){navigator.serviceWorker.register("/sw.js")}),document.querySelectorAll("ul.shuffle").forEach(function(e){if(e.children.length)for(var o=e.children.length;0<=o;o--)e.appendChild(e.children[Math.random()*o|0])});