remove unnecessary debug code
This commit is contained in:
parent
045780d9ac
commit
b3bb6b9013
|
@ -673,7 +673,6 @@ Scholar.Translate.prototype._canTranslate = function(translator, ignoreExtension
|
||||||
var regularExpression = new RegExp("\\."+translator.target+"$", "i");
|
var regularExpression = new RegExp("\\."+translator.target+"$", "i");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Scholar.debug("path is "+this.path);
|
|
||||||
|
|
||||||
if(regularExpression.test(this.path)) {
|
if(regularExpression.test(this.path)) {
|
||||||
canTranslate = true;
|
canTranslate = true;
|
||||||
|
|
|
@ -6005,7 +6005,6 @@ function doImport() {
|
||||||
var text;
|
var text;
|
||||||
var holdOver = ""; // part of the text held over from the last loop
|
var holdOver = ""; // part of the text held over from the last loop
|
||||||
|
|
||||||
Scholar.Utilities.debug("doing import: about to set character set");
|
|
||||||
Scholar.setCharacterSet("utf-8");
|
Scholar.setCharacterSet("utf-8");
|
||||||
|
|
||||||
while(text = Scholar.read(4096)) { // read in 4096 byte increments
|
while(text = Scholar.read(4096)) { // read in 4096 byte increments
|
||||||
|
|
Loading…
Reference in New Issue
Block a user