Permalink
Browse files

fix the issue about the example of getGroups

  • Loading branch information...
Peter Qian authored and ericz committed Jan 14, 2012
1 parent ef1cc34 commit be9f15790d1068d92e55ae5dd45ab5dda56ceee0
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/jsdoc/symbols/nowjs.html
@@ -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>

0 comments on commit be9f157

Please sign in to comment.