(plugin, type, cb)
| 248 | prepareVisitors() { |
| 249 | this.listeners = {} |
| 250 | let add = (plugin, type, cb) => { |
| 251 | if (!this.listeners[type]) this.listeners[type] = [] |
| 252 | this.listeners[type].push([plugin, cb]) |
| 253 | } |
| 254 | for (let plugin of this.plugins) { |
| 255 | if (typeof plugin === 'object') { |
| 256 | for (let event in plugin) { |
no test coverage detected