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
This commit is contained in:
Shawn Pearce
2013-05-21 10:51:37 -07:00
parent 75110c1628
commit 73f51d91ba
9 changed files with 422 additions and 57 deletions

View File

@@ -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>