Permalink
Browse files

Minor syntax fixes

  • Loading branch information...
1 parent 5dbf443 commit 714095de1995f361c2fc8b036835f3efae9ac046 John Conomikes committed Sep 14, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/html5/src/XML.js
View
@@ -5,7 +5,7 @@ var XML = BObject.extend({
});
XML.safeComboGet = function(root, tag, attr) {
- var result = getFirstByTag(root, tag);
+ var result = XML.getFirstByTag(root, tag);
if(result != null) {
return XML.safeGetAttr(result, attr);
@@ -14,7 +14,7 @@ XML.safeComboGet = function(root, tag, attr) {
return null;
}
-XML.getFirstByTag = function(node, tag) {
+XML.getFirstByTag = function(root, tag) {
var results = root.getElementsByTagName(tag);
if(results.length > 0) {

0 comments on commit 714095d

Please sign in to comment.