| commit | 73f51d91baf6b2225c4e3db65c661acf7991a626 | [log] [tgz] |
|---|---|---|
| author | Shawn Pearce <sop@google.com> | Tue May 21 10:51:37 2013 -0700 |
| committer | Shawn Pearce <sop@google.com> | Tue May 21 11:01:26 2013 -0700 |
| tree | 7f03e7c1bf65729361d4d90931591fd49add0cae | |
| parent | 75110c1628eb578b02b90e2052107824f755c0ee [diff] [blame] |
Async load popular modes into CodeMirror Dynamically load modes after the type of a file has been discovered from the server. This allows browers to download only the segments of CodeMirror they need to render the current file(s) being viewed. Change-Id: I34c037199cd01bf65b051400999d141eb0524cd8
diff --git a/gerrit-gwtui/src/main/java/net/codemirror/CodeMirror.gwt.xml b/gerrit-gwtui/src/main/java/net/codemirror/CodeMirror.gwt.xml index 20e413c..64ac16d 100644 --- a/gerrit-gwtui/src/main/java/net/codemirror/CodeMirror.gwt.xml +++ b/gerrit-gwtui/src/main/java/net/codemirror/CodeMirror.gwt.xml
@@ -17,4 +17,5 @@ <inherits name='com.google.gwt.logging.Logging'/> <inherits name='com.google.gwt.resources.Resources'/> <source path='lib'/> + <source path='mode'/> </module>