Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1173)

Unified Diff: third_party/node/chromium_polymer_bundler.patch

Issue 2936333002: WebUI: Replace vulcanize with polymer-bundler (Closed)
Patch Set: Address comments. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/node/README.chromium ('k') | third_party/node/chromium_vulcanize.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/node/chromium_polymer_bundler.patch
diff --git a/third_party/node/chromium_polymer_bundler.patch b/third_party/node/chromium_polymer_bundler.patch
new file mode 100644
index 0000000000000000000000000000000000000000..7db7dc3532e33d7d94447c7702d9649210b0917d
--- /dev/null
+++ b/third_party/node/chromium_polymer_bundler.patch
@@ -0,0 +1,13 @@
+diff --git a/lib/constants.js b/lib/constants.js
+index 6e1a557..23d7f7c 100644
+--- a/lib/constants.js
++++ b/lib/constants.js
+@@ -18,7 +18,7 @@ exports.default = {
+ ABS_URL: /(^\/)|(^#)|(^[\w-\d]*:)/,
+ URL: /url\([^)]*\)/g,
+ URL_ATTR: ['href', 'src', 'action', 'style', 'assetpath'],
+- URL_TEMPLATE: '{{.*}}|\\[\\[.*\\]\\]',
++ URL_TEMPLATE: '{{.*}}|\\[\\[.*\\]\\]|\\$i18n[^{]*{[^}]*}',
+ OLD_POLYMER: 'This version of polymer-bundler is not compatible with Polymer < 0.8. Please use vulcanize 0.7.x.'
+ };
+ //# sourceMappingURL=constants.js.map
« no previous file with comments | « third_party/node/README.chromium ('k') | third_party/node/chromium_vulcanize.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698