Skip to content

Commit 8f36d6f

Browse files
committed
Update plovr config
1 parent 52fe3d4 commit 8f36d6f

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

Resources/config/plovr/compile.js

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"id": "router",
3-
"paths": ["@FOSJsRoutingBundle/Resources/js"],
3+
"paths": ["../../js"],
44
"mode": "ADVANCED",
55
"level": "VERBOSE",
6-
"inputs": "@FOSJsRoutingBundle/Resources/js/export.js",
7-
"externs": "@FOSJsRoutingBundle/Resources/js/externs.js",
6+
"inputs": "../../js/export.js",
7+
"externs": "../../js/externs.js",
88

99
"define": {
1010
"goog.DEBUG": false
@@ -13,9 +13,13 @@
1313
"type-prefixes-to-strip": ["goog.debug", "goog.asserts", "goog.assert", "console"],
1414
"name-suffixes-to-strip": ["logger", "logger_"],
1515

16-
"output-file": "@FOSJsRoutingBundle/Resources/public/js/router.js",
17-
"output-wrapper": "/**\n * Portions of this code are from the Google Closure Library,\n * received from the Closure Authors under the Apache 2.0 license.\n *\n * All other code is (C) 2011 FriendsOfSymfony and subject to the MIT license.\n */\n(function() {%output%})();",
16+
"experimental-compiler-options": {
17+
"languageIn": "ECMASCRIPT5_STRICT"
18+
},
19+
20+
"output-file": "../../public/js/router.js",
21+
"output-wrapper": "/**\n * Portions of this code are from the Google Closure Library,\n * received from the Closure Authors under the Apache 2.0 license.\n *\n * All other code is (C) FriendsOfSymfony and subject to the MIT license.\n */\n(function() {%output%})();",
1822

1923
"pretty-print": false,
2024
"debug": false
21-
}
25+
}

Resources/doc/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ need the Google Closure Tools. You need the
229229
also need a working Java environment. You can re-compile the JavaScript with the
230230
following command:
231231

232-
$ java -jar plovr.jar build compile.js
232+
$ java -jar plovr.jar build Resources/config/plovr/compile.js
233233

234234
Alternatively, you can use the JMSGoogleClosureBundle. If you install this bundle,
235235
you can re-compile the JavaScript with the following command:

0 commit comments

Comments
 (0)