Skip to content

Commit

Permalink
fix the issue about the 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 ef1cc34 commit be9f157
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/jsdoc/symbols/nowjs.html
Expand Up @@ -533,7 +533,7 @@ <h1 class="classTitle">

<pre class="code">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);
});
});</pre>
Expand Down

0 comments on commit be9f157

Please sign in to comment.