diff --git a/node/utils/Minify.js b/node/utils/Minify.js index 330c5810a..719cdaeeb 100644 --- a/node/utils/Minify.js +++ b/node/utils/Minify.js @@ -155,52 +155,36 @@ exports.minifyJS = function(req, res, jsFilename) var type = item.match(/INCLUDE_[A-Z]+/g)[0].substr("INCLUDE_".length); - var quote = item.search("_Q") != -1; - //read the included file fs.readFile(filename, "utf-8", function(err, data) { if(ERR(err, callback)) return; - - //compress the file + if(type == "JS") { - embeds[item] = "