google-closure-compiler
Advanced tools
Comparing version 20151015.7.0 to 20151122.0.0
@@ -106,3 +106,3 @@ /* | ||
if (stdOutData.trim().length > 0) { | ||
let outputFiles; | ||
var outputFiles; | ||
try { | ||
@@ -109,0 +109,0 @@ outputFiles = jsonToVinyl(stdOutData); |
@@ -40,5 +40,4 @@ /* | ||
for (var i = 0; i < fileList.length; i++) { | ||
let file = new File({ | ||
path: (fileList[i].path || '').trim().length === 0 || fileList[i].path === 'stdout' ? | ||
process.cwd() + '/compiled' + i + '.js' : fileList[i].path, | ||
var file = new File({ | ||
path: fileList[i].path, | ||
contents: new Buffer(fileList[i].src) | ||
@@ -54,1 +53,2 @@ }); | ||
}; | ||
@@ -40,5 +40,5 @@ /* | ||
} else { | ||
for (let key in args) { | ||
for (var key in args) { | ||
if (Array.isArray(args[key])) { | ||
for (let i = 0; i < args[key].length; i++) { | ||
for (var i = 0; i < args[key].length; i++) { | ||
this.command_arguments.push('--' + key + '=' + | ||
@@ -45,0 +45,0 @@ this.escapeArgument(args[key][i])); |
{ | ||
"name": "google-closure-compiler", | ||
"version": "20151015.7.0", | ||
"version": "20151122.0.0", | ||
"description": "Check, compile, optimize and compress Javascript with Closure-Compiler", | ||
@@ -46,3 +46,17 @@ "repository": { | ||
"vinyl-sourcemaps-apply": "^0.2.0" | ||
}, | ||
"devDependencies": { | ||
"gulp": "^3.9.0", | ||
"gulp-mocha": "^2.2.0", | ||
"gulp-sourcemaps": "^1.6.0", | ||
"mocha": "^2.3.4", | ||
"semver": "^5.1.0", | ||
"should": "^7.1.1", | ||
"simple-git": "^1.12.0", | ||
"stream-assert": "^2.0.3", | ||
"vinyl": "^1.1.0" | ||
}, | ||
"scripts": { | ||
"test": "mocha" | ||
} | ||
} |
# google-closure-compiler | ||
[![Build Status](https://travis-ci.org/ChadKillingsworth/closure-compiler-npm.svg?branch=master)](https://travis-ci.org/ChadKillingsworth/closure-compiler-npm) | ||
Check, compile, optimize and compress Javascript with Closure-Compiler | ||
@@ -3,0 +5,0 @@ |
Sorry, the diff of this file is not supported yet
10282318
333
9
150122