Fix warnings from 'make minify' + other bugs

This commit is contained in:
Robert Nelson 2013-12-05 20:12:20 -08:00
parent f0c2427895
commit e6a116d14e
2 changed files with 2 additions and 5 deletions

View File

@ -353,9 +353,6 @@ JXG.Util.Unzip = function(barray) {
X = currentTree[xtreepos];
}
}
if (debug)
document.write("ret3");
return -1;
};
function DeflateLoop() {
@ -797,7 +794,7 @@ JXG.Util.Unzip = function(barray) {
CRC = 0xffffffff;
SIZE = 0;
if (size = 0 && fileOut.charAt(fileout.length - 1) == "/") {
if (size == 0 && fileOut.charAt(fileout.length - 1) == "/") {
//skipdir
if (debug)
alert("skipdir");

View File

@ -225,7 +225,7 @@ function dearmor(text) {
util.print_error("Ascii armor integrity check on message failed: '" + splittedtext[2]
.split('\n\n')[1]
.split("\n=")[1]
.split('\n')[0] + "' should be '" + getCheckSum(result.data)) + "'";
.split('\n')[0] + "' should be '" + getCheckSum(result.data) + "'");
return false;
}
} else {