Permalink
Browse files

Fix documentation error

In "Namespacing", a comment describing the behaviour of `fire()` refers to the wrong event handler
  • Loading branch information...
1 parent 0bbb391 commit f0a780c951e0669401e0d7266f2651829dbd0479 @acusti acusti committed Jan 17, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -90,7 +90,7 @@ bean.on(element, 'click', fn); // 3
// later:
bean.fire(element, 'click.ded'); // trigger 2
-bean.fire(element, 'click.fat'); // trigger 3
+bean.fire(element, 'click.fat'); // trigger 1
bean.off(element, 'click'); // remove 1, 2 & 3
// fire() & off() match multiple namespaces with AND, not OR:
@@ -358,4 +358,4 @@ Special thanks to:
## Licence & copyright
-Bean is copyright © 2011-2012 Jacob Thornton and licenced under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details.
+Bean is copyright © 2011-2012 Jacob Thornton and licenced under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details.

0 comments on commit f0a780c

Please sign in to comment.