Anonymous avatar Anonymous committed 63e8ee3

autoindent screws up sometimes, and get rid of the debugging output

Comments (0)

Files changed (1)

 			}
 
 			for (j = 0; j < num; j++)
-			mov(sol.charAt(i));
+				mov(sol.charAt(i));
 
 			for (j = 0; j < inc; j++)
-			str += sol.charAt(i + j);
+				str += sol.charAt(i + j);
+
 			str += "  |  ";
 			i += inc - 1;
 			} else {
 			}
 
 			for (j = 0; j < num; j++)
-			mov(sol.charAt(i));
+				mov(sol.charAt(i));
 
 			str += "  |  ";
 			for (j = 0; j < inc; j++)
-			str += sol.charAt(i + j);
+				str += sol.charAt(i + j);
+
 			i += inc - 1;
 			} else {
 			str += sol.charAt(i);
 
 	for (s = 0; s < document.styleSheets.length; s++) {
 		if (document.styleSheets[s]['rules']) {
-			rules = 'rules';
+				rules = 'rules';
 			} else if (document.styleSheets[s]['cssRules']) {
-			rules = 'cssRules';
+				rules = 'cssRules';
 			} else {
 			// no rules found... browser unknown
 		}
 
-		validation.innerHTML = "looking for " + val + " and " + cls;
-		validation.innerHTML += " length: " + document.styleSheets[s][rules].length;
-
 		for (r1 = 0; r1 < document.styleSheets[s][rules].length; r1++) {
-			validation.innerHTML += "<br>found: " + document.styleSheets[s][rules][r1].selectorText;
 			if (document.styleSheets[s][rules][r1].selectorText.toLowerCase() == val &&
-			document.styleSheets[s][rules][r1].style[atr]) {
-				validation.innerHTML += "and it is.... " + document.styleSheets[s][rules][r1].style[atr];
+				document.styleSheets[s][rules][r1].style[atr]) {
 				break;
 			}
 		}
 
 
 		for (r2 = 0; r2 < document.styleSheets[s][rules].length; r2++) {
-			validation.innerHTML += "<br>found: " + document.styleSheets[s][rules][r2].selectorText;
 			if (document.styleSheets[s][rules][r2].selectorText.toLowerCase() == cls &&
-			document.styleSheets[s][rules][r2].style[atr]) {
-				validation.innerHTML += "and it is.... " + document.styleSheets[s][rules][r2].style[atr];
+				document.styleSheets[s][rules][r2].style[atr]) {
 				break;
 			}
 		}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.