Add polymer bridges implementation

These files allow to use Polymer 2 code with a Polymer 3 library.

Change-Id: Id19a83a49955150fbf72a3c433fa778553264e81
170 files changed
tree: 5d7cb300a200f35340093e4a4cebe7d2e0084de3
  1. iron-a11y-keys-behavior/
  2. iron-autogrow-textarea/
  3. iron-dropdown/
  4. iron-fit-behavior/
  5. iron-icon/
  6. iron-iconset-svg/
  7. iron-input/
  8. iron-overlay-behavior/
  9. iron-selector/
  10. iron-test-helpers/
  11. paper-button/
  12. paper-input/
  13. paper-item/
  14. paper-listbox/
  15. paper-tabs/
  16. paper-toggle-button/
  17. polymer/
  18. polymer-resin/
  19. LICENSE.txt
  20. package.json

This repository contains a code to provide compatibility layer between Polymer 3 and Polymer 2. It allows to run Polymer 2 application on top of Polymer 3 without changing a code.

The repository is added as a submodule to gerrit project; polygerrit-ui/app/package.json references a local folder (with submodule).

folder will be removed after full switch from Polymer 2 to Polymer 3.

Some files have code related to google-closure-library, but it is not necessary to use google-closure-library - the polymer/lib/utils/boot_bridge.js file provides placoholders for it.

Note: it is expected, that this repository is used only during transition period (Polymer 2 -> Polymer 3). After the transitition is complete (including Plugins), the submodule will be removed from gerrit repository.