Permalink
Browse files

Fix newgroup event comment example

  • Loading branch information...
1 parent 7b1e6c5 commit 7dc358bf0540922eebc1e0b85a7e3838fd1bcd2a @ericz ericz committed Nov 1, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/now.js
View
@@ -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 + '`');
* });
*/

0 comments on commit 7dc358b

Please sign in to comment.