(code: string, callOnUpdate: boolean = true)
| 557 | Object.assign(options, newOptions) |
| 558 | }, |
| 559 | updateCode(code: string, callOnUpdate: boolean = true) { |
| 560 | editor.textContent = code |
| 561 | doHighlight(editor) |
| 562 | callOnUpdate && onUpdate(code) |
| 563 | }, |
| 564 | onUpdate(callback: (code: string) => void) { |
| 565 | onUpdate = callback |
| 566 | }, |
nothing calls this directly
no test coverage detected