Skip to content

Commit

Permalink
Version 0.3.3 - Updating GCC to version 1592 and YUI 2.4.7
Browse files Browse the repository at this point in the history
  • Loading branch information
srod committed Dec 27, 2011
1 parent 4ff8f79 commit dcad48a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

Support:

- YUI Compressor --version 2.4.6
- YUI Compressor --version 2.4.7

- Google Closure Compiler --version 1314
- Google Closure Compiler --version 1592

- UglifyJS

Expand Down
Binary file not shown.
6 changes: 3 additions & 3 deletions lib/node-minify.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ minify.prototype.compress = function() {

switch (this.type) {
case 'yui':
command = 'java -jar ' + __dirname + '/yuicompressor-2.4.6.jar ' + this.fileIn + ' -o ' + this.fileOut + ' ' + this.options.join(' ');
command = 'java -jar ' + __dirname + '/yuicompressor-2.4.7.jar ' + this.fileIn + ' -o ' + this.fileOut + ' ' + this.options.join(' ');
break;
case 'gcc':
command = 'java -jar ' + __dirname + '/google_closure_compiler.jar --js=' + this.fileIn + ' --js_output_file=' + this.fileOut + ' ' + this.options.join(' ');
command = 'java -jar ' + __dirname + '/google_closure_compiler-r1592.jar --js=' + this.fileIn + ' --js_output_file=' + this.fileOut + ' ' + this.options.join(' ');
break;
case 'uglifyjs':
command = __dirname + '/../node_modules/uglify-js/bin/uglifyjs --output ' + this.fileOut + ' --no-copyright ' + this.fileIn + ' ' + this.options.join(' ');
Expand All @@ -49,5 +49,5 @@ minify.prototype.compress = function() {
});
};

exports.version = '0.3.1';
exports.version = '0.3.3';
exports.minify = minify;
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-minify",
"version": "0.3.2",
"version": "0.3.3",
"description": "Javascript / CSS minifier based on YUI Compressor / Google Closure Compiler / UglifyJS",
"homepage": "https://github.com/srod/node-minify",
"author": {
Expand Down

0 comments on commit dcad48a

Please sign in to comment.