From e59cf6242c8b9ea51ac392e0a2ebe1976805555a Mon Sep 17 00:00:00 2001 From: Peter Qian Date: Sat, 14 Jan 2012 00:00:55 -0800 Subject: [PATCH] example of getGroups --- lib/now.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); * }); * });