Permalink
Browse files

Merge pull request #25 from connormontgomery/master

Fix issue #20
  • Loading branch information...
2 parents 4664bd4 + 96c7555 commit 786962d7213255f2375a64f55d9b364e52d6a77f @fat committed Sep 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -143,7 +143,7 @@ object support
Good news, everything you can do in bean with an element, you can also do with an object! This is particularly useful for working with classes or plugins.
var inst = new Klass();
- bean.add(klass, 'complete', handler);
+ bean.add(inst, 'complete', handler);
//later on...
bean.fire(inst, 'complete');

0 comments on commit 786962d

Please sign in to comment.