(evt)
| 66 | } |
| 67 | |
| 68 | function loadExample(evt){ |
| 69 | var exampleName = evt.target.value; |
| 70 | if (exampleName === ''){ return; } |
| 71 | clearScript(); |
| 72 | file.examples[exampleName].forEach(function(block){ |
| 73 | scriptElem.appendChild(Block.create.apply(null, block)); |
| 74 | }); |
| 75 | Menu.runSoon(); |
| 76 | } |
| 77 | |
| 78 | global.file = { |
| 79 | saveLocal: saveLocal, |
nothing calls this directly
no test coverage detected