Migrate customize_themes to Mojo JS modules
All dependents are also (minimally) updated to support this change. The module-supporting bindings.js is also modified here so that its import has no destructive side effects on the global object state. This allows bindings.js and mojo_bindings_lite.js to be imported by the same page to mix usage of module-based and non-module-based JS bindings, which is temporarily needed here by chrome://new-tab-page/ Bug: 1004256 Change-Id: I7e74ca222e099cc8143e5476a9cdcd62b40a8afd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2521907 Commit-Queue: Ken Rockot <rockot@google.com> Commit-Queue: Brian Salomon <bsalomon@google.com> Auto-Submit: Ken Rockot <rockot@google.com> Reviewed-by:Brian Salomon <bsalomon@google.com> Reviewed-by:
dpapad <dpapad@chromium.org> Cr-Commit-Position: refs/heads/master@{#827337}
Showing
Please register or sign in to comment