improved minifying

This commit is contained in:
Peter 'Pita' Martischka 2011-07-25 14:38:54 +01:00
parent ba677c6e30
commit e9a389b0a6
3 changed files with 15 additions and 29 deletions

View file

@ -135,7 +135,7 @@ exports.padJS = function(req, res)
var quote = item.search("_Q") != -1;
//read the included file
fs.readFile("../" + filename, "utf-8", function(err, data)
fs.readFile(filename, "utf-8", function(err, data)
{
//compress the file
if(type == "JS")