Web UI: Allow multiple templates in JS files when replacing expressions
Allow multiple HTML _template strings in JS files when running i18n template replacements. This is necessary to correctly replace expressions for bundled JS files generated from Polymer 3 pages, as the bundled files will generally contain many element definitions, each including HTML template string. This will be used when optimized Web UI pages are migrated to use Polymer 3/JS modules (e.g. chrome://extensions). Bug: 1004967 Change-Id: I9b5990fc26daf272980ee8d4f5aac688aceffb27 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1834846 Commit-Queue: Rebekah Potter <rbpotter@chromium.org> Reviewed-by:Demetrios Papadopoulos <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#703031}
Showing
Please register or sign in to comment