gerrit/lib/codemirror/cm3.defs
Shawn Pearce 101a8c4b65 Only pack CM3 themes selectable by the user
This avoids packing too many CSS rules, which bloats the download
to the browser and may slow down rendering while the browser picks
matching CSS classes.

Change-Id: I8888bc9daa9693ff2598ccfe29d150fa3fac0916
2014-01-21 15:07:10 -08:00

40 lines
736 B
Plaintext

CM3_CSS = [
'lib/codemirror.css',
'addon/dialog/dialog.css',
]
CM3_THEMES = [
'theme/eclipse.css',
'theme/elegant.css',
'theme/neat.css',
]
CM3_JS = [
'lib/codemirror.js',
'keymap/vim.js',
'addon/dialog/dialog.js',
'addon/search/searchcursor.js',
'addon/search/search.js',
'addon/selection/mark-selection.js',
'addon/edit/trailingspace.js',
]
CM3_MODES = [
'clike/clike.js',
'clojure/clojure.js',
'commonlisp/commonlisp.js',
'css/css.js',
'go/go.js',
'groovy/groovy.js',
'htmlmixed/htmlmixed.js',
'javascript/javascript.js',
'perl/perl.js',
'properties/properties.js',
'python/python.js',
'ruby/ruby.js',
'shell/shell.js',
'sql/sql.js',
'velocity/velocity.js',
'xml/xml.js',
]