Permalink
Browse files

Fix bindWithEvent replacement example in the Docs

  • Loading branch information...
1 parent d34ebce commit e329128494e3b4dd442fee32494bc3a94c6e114c @arian arian committed with cpojer Jan 20, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Docs/Types/Function.md
View
2 Docs/Types/Function.md
@@ -385,7 +385,7 @@ This function has been deprecated.
### Example how you could replace this method:
myElement.addEvent('click', function(e){
- myFunction.bind(bind, [e]);
+ myFunction.call(bind, e);
});
Function method: run {#Deprecated-Functions:run}

0 comments on commit e329128

Please sign in to comment.