Remove console logs
This commit is contained in:
parent
271dd663bf
commit
3180b96213
1 changed files with 0 additions and 3 deletions
|
@ -103,9 +103,7 @@ exports.doImport = function(req, res, padId)
|
||||||
// Logic for allowing external Import Plugins
|
// Logic for allowing external Import Plugins
|
||||||
hooks.aCallAll("import", {srcFile: srcFile, destFile: destFile}, function(err, result){
|
hooks.aCallAll("import", {srcFile: srcFile, destFile: destFile}, function(err, result){
|
||||||
if(ERR(err, callback)) return callback();
|
if(ERR(err, callback)) return callback();
|
||||||
console.log(result);
|
|
||||||
if(result.length > 0){ // This feels hacky and wrong..
|
if(result.length > 0){ // This feels hacky and wrong..
|
||||||
console.log("Plugin handling import");
|
|
||||||
importHandledByPlugin = true;
|
importHandledByPlugin = true;
|
||||||
callback();
|
callback();
|
||||||
}else{
|
}else{
|
||||||
|
@ -191,7 +189,6 @@ console.log(result);
|
||||||
function(callback) {
|
function(callback) {
|
||||||
var fileEnding = path.extname(srcFile).toLowerCase();
|
var fileEnding = path.extname(srcFile).toLowerCase();
|
||||||
if (abiword || fileEnding == ".htm" || fileEnding == ".html") {
|
if (abiword || fileEnding == ".htm" || fileEnding == ".html") {
|
||||||
console.log("trying", fileEnding, abiword, text)
|
|
||||||
try{
|
try{
|
||||||
importHtml.setPadHTML(pad, text);
|
importHtml.setPadHTML(pad, text);
|
||||||
}catch(e){
|
}catch(e){
|
||||||
|
|
Loading…
Reference in a new issue