Skip to content

Commit

Permalink
example of getGroups
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Qian authored and ericz committed Jan 16, 2012
1 parent be9f157 commit e59cf62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/now.js
Expand Up @@ -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);
* });
* });
Expand Down

0 comments on commit e59cf62

Please sign in to comment.