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

Side by Side Diff: third_party/node/chromium_vulcanize.patch

Issue 2936333002: WebUI: Replace vulcanize with polymer-bundler (Closed)
Patch Set: update polymer bundler 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 unified diff | Download patch
OLDNEW
(Empty)
1 diff --git a/lib/constants.js b/lib/constants.js
2 index 21e1380..b6a353a 100644
3 --- a/lib/constants.js
4 +++ b/lib/constants.js
5 @@ -13,6 +13,6 @@ module.exports = {
6 ABS_URL: /(^\/)|(^#)|(^[\w-\d]*:)/,
7 URL: /url\([^)]*\)/g,
8 URL_ATTR: ['href', 'src', 'action', 'style', 'assetpath'],
9 - URL_TEMPLATE: '{{.*}}|\\[\\[.*\\]\\]',
10 + URL_TEMPLATE: '{{.*}}|\\[\\[.*\\]\\]|\\$i18n[^{]*{[^}]*}',
11 OLD_POLYMER: 'This version of vulcanize is not compatible with Polymer < 0.8. Please use vulcanize 0.7.x.'
12 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698