(event, editor)
| 188 | } |
| 189 | |
| 190 | trigger (event, editor) { |
| 191 | if (this.callbacks && this.callbacks[event] && this.callbacks[event].length) { |
| 192 | for (let i = 0; i < this.callbacks[event].length; i++) { |
| 193 | this.callbacks[event][i].apply(this, [editor]) |
| 194 | } |
| 195 | } |
| 196 | |
| 197 | return this |
| 198 | } |
| 199 | |
| 200 | setOption (option, value) { |
| 201 | if (option === 'show_errors') { |
no outgoing calls
no test coverage detected