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