()
| 59 | } |
| 60 | |
| 61 | function loadFile(){ |
| 62 | var input = elem('input', {'type': 'file', 'accept': 'application/json'}); |
| 63 | if (!input){ return; } |
| 64 | input.addEventListener('change', function(evt){ readFile(input.files[0]); }); |
| 65 | input.click(); |
| 66 | } |
| 67 | |
| 68 | function loadExample(evt){ |
| 69 | var exampleName = evt.target.value; |
nothing calls this directly
no test coverage detected