Permalink
Browse files

fixed error in example

  • Loading branch information...
1 parent ea01e74 commit f559264d4327afce3751b212a4dbd9feed7d974b @vokidas committed Jan 5, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -130,7 +130,7 @@ property. `Element` nodes additionally have two primitive methods:
var Element = html.Element;
Element.prototype.getElementsByTagName = function (name) {
- this.getElementsBy(function (elem) {
+ return this.getElementsBy(function (elem) {
return elem.name == name;
});
}

0 comments on commit f559264

Please sign in to comment.