Lines Matching refs:modes
3 var modes = new Object(); class
4 modes['bash'] = 'text/x-sh';
5 modes['c'] = 'text/x-csrc';
6 modes['css'] = 'text/css';
7 modes['cpp'] = 'text/x-c++src';
8 modes['csharp'] = 'text/x-sharp';
9 modes['html'] = 'text/html';
10 modes['java'] = 'text/x-java';
11 modes['javascript'] = 'text/x-javascript';
12 modes['latex'] = 'text/x-stex';
13 modes['php'] = 'application/x-httpd-php';
14 modes['r'] = 'text/x-rsrc';
15 modes['ruby'] = 'text/x-ruby';
16 modes['pascal'] = 'text/x-pascal';
17 modes['perl'] = 'text/x-perl';
18 modes['python'] = 'text/x-python';
19 modes['xml'] = 'application/xml';
20 modes['plain'] = 'text/plain';
28 if (modes[lang] == undefined) lang = 'plain';
39 mode: modes[lang],