(function (win,doc){ if (!win.addEventListener) return; var html=document.documentElement; function setFont() {var cliWidth=html.clientWidth; html.style.fontSize=100*(cliWidth/640)+'px'; } win.addEventListener('resize',setFont,false) doc.addEventList…
You are given a program you want to execute as a set of tasks organized in a dependency graph. The dependency graph is a directed acyclic graph: each task can depend on results of one or several other tasks, and there are no directed circular depende…