(file)
| 49 | } |
| 50 | |
| 51 | function importSvgFile(file){ |
| 52 | reader.onloadend = function(e) { |
| 53 | importSvg(e.target.result); |
| 54 | }; |
| 55 | reader.readAsText(file); |
| 56 | } |
| 57 | |
| 58 | function importSvg(string) { |
| 59 | svgCanvas.importSvgString(e.target.result, true); |
nothing calls this directly
no test coverage detected