(evt)
| 30 | requestAnimationFrame(run); |
| 31 | |
| 32 | function runEach(evt){ |
| 33 | var elem = evt.target; |
| 34 | if (!matches(elem, '.script .block')) return; |
| 35 | if (elem.dataset.name === 'Define block') return; |
| 36 | elem.classList.add('running'); |
| 37 | scriptRegistry[elem.dataset.name](elem); |
| 38 | elem.classList.remove('running'); |
| 39 | } |
| 40 | |
| 41 | function repeat(block){ |
| 42 | var count = Block.value(block); |