Skip to content

Commit

Permalink
Merge pull request #29 from Hypercubed/patch-1
Browse files Browse the repository at this point in the history
Update index.js
  • Loading branch information
yoshuawuyts committed Jun 19, 2016
2 parents 62fbecf + 0f271ce commit ce88290
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function dispatcher () {
assert.equal(typeof cb, 'function')

actions[action] = actions[action] ? actions[action] : []
assert.equal(actions[action].length, 0, 'only on callback per action')
assert.equal(actions[action].length, 0, 'only one callback per action')
actions[action].push(cb)

return emit
Expand Down

0 comments on commit ce88290

Please sign in to comment.