diff options
| author | Igor Minar | 2013-06-06 22:35:43 -0700 |
|---|---|---|
| committer | Igor Minar | 2013-06-06 23:10:09 -0700 |
| commit | 73534b354655db40a42931134c86f019e2f00990 (patch) | |
| tree | 4f494db853ed8579634261cf5d8e8655e0563698 | |
| parent | 0317fd1651536cd0d7a0a5850c31db1ddaa87c0e (diff) | |
| download | angular.js-73534b354655db40a42931134c86f019e2f00990.tar.bz2 | |
chore(closure-compiler): use bower to fetch closure compiler
this replaces the stale NPM dependency
| -rw-r--r-- | bower.json | 3 | ||||
| -rw-r--r-- | lib/grunt/utils.js | 2 | ||||
| -rw-r--r-- | package.json | 1 |
3 files changed, 3 insertions, 3 deletions
@@ -5,6 +5,7 @@ "lunr.js": "0.3.1", "google-code-prettify": "1.0.0", "components-font-awesome": "3.1.0", - "bootstrap": "https://raw.github.com/twitter/bootstrap/v2.0.2/docs/assets/bootstrap.zip" + "bootstrap": "https://raw.github.com/twitter/bootstrap/v2.0.2/docs/assets/bootstrap.zip", + "closure-compiler": "https://closure-compiler.googlecode.com/files/compiler-20110615.zip" } } diff --git a/lib/grunt/utils.js b/lib/grunt/utils.js index 1a091198..27765b76 100644 --- a/lib/grunt/utils.js +++ b/lib/grunt/utils.js @@ -125,7 +125,7 @@ module.exports = { shell.exec( 'java ' + this.java32flags() + ' ' + - '-jar node_modules/closure-compiler/lib/vendor/compiler.jar ' + + '-jar components/closure-compiler/compiler.jar ' + '--compilation_level SIMPLE_OPTIMIZATIONS ' + '--language_in ECMASCRIPT5_STRICT ' + '--js ' + file + ' ' + diff --git a/package.json b/package.json index 7441037a..5c4e3503 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,6 @@ "grunt-contrib-copy": "0.4.1", "grunt-shell": "~0.2.2", "jasmine-node": "1.2.3", - "closure-compiler" : "0.2.0", "q": "~0.9.2", "q-fs": "0.1.36", "qq": "0.3.5", |
