Skip to content
Browse files

whitespace, bleh

  • Loading branch information...
1 parent 05e72fb commit 38c5bd6baa8a4333775a448f1e32fc4ff657ff67 @madrobby committed Apr 18, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/dommonster.js
View
8 src/dommonster.js
@@ -21,7 +21,7 @@
if (index < 0) {
index += length;
}
-
+
for (; index < length; ++index) {
if (this[index] === object) {
return index;
@@ -31,13 +31,13 @@
return -1;
};
}
-
+
function $(id){ return document.getElementById(id); }
function $tagname(tagname) {
var nodes = document.getElementsByTagName(tagname),
retValue = [];
-
+
for (var i = nodes.length - 1; i >= 0; i = i - 1) {
retValue[i] = nodes[i];
}
@@ -588,7 +588,7 @@
}
}
function findWhitespaceTextnodes(element){
- // Safety check
+ // Safety check
if(element.childNodes && element.childNodes.length>0)
for(var i=0;i<element.childNodes.length;i++)
findWhitespaceTextnodes(element.childNodes[i]);

0 comments on commit 38c5bd6

Please sign in to comment.
Something went wrong with that request. Please try again.