Lazy load codemirror assets

Requires a relatively significant refactor of the attached function.

Uses promises instead of callbacks for loading to tests and later code
more legible and straightforward.

Bug: Issue 8764
Change-Id: I081564ff75c383bf042f77820e017ef04c8c313c
6 files changed
tree: 39c51d28de163ec39ff34c8c34763bd1528a27ae
  1. gr-editor/
  2. java/
  3. test/
  4. .gitignore
  5. bower.json
  6. BUILD
  7. plugin.html

CodeMirror Editor

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


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 allows for manual debugging.