mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-05-05 14:47:12 -04:00
handler/ImportHandler: use jshint
This commit is contained in:
parent
da7098168e
commit
8e42192f2f
1 changed files with 31 additions and 29 deletions
|
@ -28,8 +28,10 @@ var formidable = require('formidable');
|
|||
var os = require("os");
|
||||
|
||||
//load abiword only if its enabled
|
||||
if(settings.abiword != null)
|
||||
if(settings.abiword)
|
||||
{
|
||||
var abiword = require("../utils/Abiword");
|
||||
}
|
||||
|
||||
var tempDirectory = "/tmp/";
|
||||
|
||||
|
@ -188,4 +190,4 @@ exports.doImport = function(req, res, padId)
|
|||
//close the connection
|
||||
res.send("ok");
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue