diff options
| author | HumairAK <humair88@hotmail.com> | 2016-07-27 06:44:05 +0000 |
|---|---|---|
| committer | HumairAK <humair88@hotmail.com> | 2016-07-27 06:44:05 +0000 |
| commit | 6fd4613d0bf1bb78340e46d45b269ddd3c36f190 (patch) | |
| tree | 91a2a795aa56d96d076acf1b202645d0e68dd47a /node_modules/express-minify/examples/dynamic.js | |
| parent | 6271b9d13139c1e55118e5f26a3a7bf8caeeb11d (diff) | |
added compression
Diffstat (limited to 'node_modules/express-minify/examples/dynamic.js')
| -rw-r--r-- | node_modules/express-minify/examples/dynamic.js | 24 |
1 files changed, 0 insertions, 24 deletions
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 |
