(params)
| 677 | } |
| 678 | |
| 679 | eventDataScript(params) { |
| 680 | const id = parseInt(params.scriptId); |
| 681 | const name = params.url ? params.url : undefined; |
| 682 | |
| 683 | return { id : () => id, |
| 684 | name : () => name, |
| 685 | source : () => this.eventDataScriptSource(params.scriptId), |
| 686 | setSource : (src) => this.eventDataScriptSetSource(id, src) |
| 687 | }; |
| 688 | } |
| 689 | |
| 690 | // --- Message handlers. ----------------------------------------------------- |
| 691 |
no test coverage detected