()
| 1458 | |
| 1459 | class ScriptSourceView { |
| 1460 | constructor() { |
| 1461 | this.table = $("source-viewer"); |
| 1462 | this.hideButton = $("source-viewer-hide-button"); |
| 1463 | this.hideButton.onclick = () => { |
| 1464 | main.setViewingSource(false); |
| 1465 | }; |
| 1466 | } |
| 1467 | |
| 1468 | render(newState) { |
| 1469 | let oldState = this.currentState; |