Chromium Code Reviews

Unified Diff: node_modules/vulcanize/lib/constants.js

Issue 877193002: Upgrade vulcanize to 0.7.6. (Closed) Base URL: https://chromium.googlesource.com/infra/third_party/npm_modules.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « node_modules/vulcanize/CHANGELOG ('k') | node_modules/vulcanize/lib/vulcan.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: node_modules/vulcanize/lib/constants.js
diff --git a/node_modules/vulcanize/lib/constants.js b/node_modules/vulcanize/lib/constants.js
index 081dc796d57c2370ade6b41e0f61646aaa893de8..8812df9d2551ae5145124e988dd3514051b1f07d 100644
--- a/node_modules/vulcanize/lib/constants.js
+++ b/node_modules/vulcanize/lib/constants.js
@@ -15,7 +15,7 @@ module.exports = {
EOL: require('os').EOL,
ELEMENTS: 'polymer-element:not([assetpath])',
ELEMENTS_NOSCRIPT: 'polymer-element[noscript]',
- ABS_URL: /(^data:)|(^http[s]?:)|(^\/)|(^mailto:)|(^tel:)|(^sms:)/,
+ ABS_URL: /(^data:)|(^http[s]?:)|(^\/)|(^mailto:)|(^tel:)|(^sms:)|(^#)/,
REMOTE_ABS_URL: /(^http[s]?\:)|(^\/\/)/,
IMPORTS: 'link[rel="import"][href]',
URL: /url\([^)]*\)/g,
« no previous file with comments | « node_modules/vulcanize/CHANGELOG ('k') | node_modules/vulcanize/lib/vulcan.js » ('j') | no next file with comments »

Powered by Google App Engine