fixed wrong documentation in comments...

v1.18.x
Julian Lam 10 years ago
parent 474ff3ed35
commit fa351ffa07

@ -7,7 +7,7 @@ var SocketPlugins = {};
How? From your plugin: How? From your plugin:
var SocketPlugins = require.main.require('./src/socket.io/modules'); var SocketPlugins = require.main.require('./src/socket.io/plugins');
SocketPlugins.myPlugin = {}; SocketPlugins.myPlugin = {};
SocketPlugins.myPlugin.myMethod = function() { ... }; SocketPlugins.myPlugin.myMethod = function() { ... };

Loading…
Cancel
Save