From 6fd4613d0bf1bb78340e46d45b269ddd3c36f190 Mon Sep 17 00:00:00 2001 From: HumairAK Date: Wed, 27 Jul 2016 02:44:05 -0400 Subject: added compression --- node_modules/express-minify/examples/dynamic.js | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 node_modules/express-minify/examples/dynamic.js (limited to 'node_modules/express-minify/examples/dynamic.js') diff --git a/node_modules/express-minify/examples/dynamic.js b/node_modules/express-minify/examples/dynamic.js deleted file mode 100644 index d3e1f10..0000000 --- a/node_modules/express-minify/examples/dynamic.js +++ /dev/null @@ -1,24 +0,0 @@ -var minify = require('express-minify'); -var express = require('express'); -var app = express(); - -var responseJS = - "(function(window, undefined)\n" + - "{\n" + - "\n" + - " var hello = 'hello';\n" + - "\n" + - " var world = 'world';\n" + - "\n" + - " alert(hello + world);\n" + - "\n" + - "})(window);" - -app.use(minify()); -app.get('/response.js', function(req, res) -{ - res.setHeader('Content-Type', 'application/javascript'); - res.end(responseJS); -}); - -app.listen(8080); \ No newline at end of file -- cgit v1.2.3