Replace this.importHref with Polymer 2 compatible switch

Copied from [1]

[1] I0ab3e9ad95528989208f650fdd9876d1399b031d

Bug: Issue 11143
Change-Id: I0c12992cc062db71383301fb15e25542337f4c87
1 file changed
tree: 57b7daca205b28450eabd68eec247124002b27da
  1. gr-editor/
  2. java/
  3. test/
  4. .gitignore
  5. .mailmap
  6. bower.json
  7. BUILD
  8. LICENSE
  9. plugin.html
  10. README.md
README.md

CodeMirror Editor

A plugin that uses CodeMirror to provide a rich code editing experience in PolyGerrit.

Testing

This plugin uses polymer-cli to test.

After bower install, running polymer test -l chrome will run all tests in Chrome, and running polymer serve and navigating to http://127.0.0.1:8081/components/codemirror-editor/gr-editor/gr-editor_test.html allows for manual debugging.