Skip to content

Commit

Permalink
Fix newgroup event comment example
Browse files Browse the repository at this point in the history
  • Loading branch information
ericz committed Nov 1, 2011
1 parent 7b1e6c5 commit 7dc358b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/now.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ Now.prototype.getGroup = function (name) {
* @event
* @param {Group} group The group created by {@link nowjs#getGroup}.
* @description Called when a new group is created.
* @example nowjs.on('newgroup', function (name) {
* console.log('You have successfully created the group `' + name + '`');
* @example nowjs.on('newgroup', function (group) {
* console.log('You have successfully created the group `' + groupName + '`');
* });
*/

Expand Down

0 comments on commit 7dc358b

Please sign in to comment.