diff --git a/lib/now.js b/lib/now.js index 07f22b7..d68ede2 100644 --- a/lib/now.js +++ b/lib/now.js @@ -78,7 +78,7 @@ Now.prototype.getClient = function (id, callback) { * @example nowjs.on('connect', function () { * var self = this; - * getGroups(function (groups) { + * nowjs.getGroups(function (groups) { * nowjs.getGroup(groups[Math.floor(groups.length * Math.random())]).addUser(self); * }); * });