commit | ee50e45b449e282ed78917175daf8b359da8d943 | [log] [tgz] |
---|---|---|
author | Kasper Nilsson <kaspern@google.com> | Mon May 14 20:46:37 2018 -0700 |
committer | Kasper Nilsson <kaspern@google.com> | Fri May 18 18:29:33 2018 -0700 |
tree | 39c51d28de163ec39ff34c8c34763bd1528a27ae | |
parent | c97e2806532cff00fea6424cde0d440f9ea5016d [diff] |
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
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 http://127.0.0.1:8081/components/codemirror-editor/gr-editor/gr-editor_test.html allows for manual debugging.