Closed sharafian closed 8 years ago
If the pluginOpts parameter is an EventEmitter (it has the .on function, which will never happen if pluginOpts is a JSON-able object), then it will be used as the plugin instance for a client.
pluginOpts
.on
No coverage report found for master at e8404ad. Powered by Codecov. Last update e8404ad...078f440
No coverage report found for master at e8404ad.
Powered by Codecov. Last update e8404ad...078f440
If the
pluginOpts
parameter is an EventEmitter (it has the.on
function, which will never happen ifpluginOpts
is a JSON-able object), then it will be used as the plugin instance for a client.