corrade-nucleus-nucleons – Blame information for rev 20
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
20 | office | 1 | <!DOCTYPE html> |
2 | <html lang="en"> |
||
3 | <head> |
||
4 | <meta charset="UTF-8"> |
||
5 | <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
||
6 | <title>ACE Editor StatusBar Demo</title> |
||
7 | <style type="text/css" media="screen"> |
||
8 | /*!important without this top: 0; bottom: 0 doesn't work on old ie */ |
||
9 | body, html { |
||
10 | position: absolute; |
||
11 | top: 0px; bottom: 0; left: 0; right: 0; |
||
12 | margin:0; padding:0; |
||
13 | overflow:hidden |
||
14 | } |
||
15 | |||
16 | #editor { |
||
17 | margin: 0; |
||
18 | position: absolute; |
||
19 | top: 0; bottom: 0; left: 0; right: 0; |
||
20 | } |
||
21 | </style> |
||
22 | </head> |
||
23 | <body> |
||
24 | |||
25 | <pre id="editor"> |
||
26 | require("ace/ext/old_ie"); |
||
27 | // now ace will work even on ie7! |
||
28 | var editor = ace.edit("editor"); |
||
29 | </pre> |
||
30 | |||
31 | <script src="../src/ace.js"></script> |
||
32 | <script src="../src/ext-old_ie.js"></script> |
||
33 | <script> |
||
34 | // before creating an editor patch up things for old ie |
||
35 | require("ace/ext/old_ie"); |
||
36 | // now ace will work even on ie7! |
||
37 | var editor = ace.edit("editor"); |
||
38 | editor.setTheme("ace/theme/textmate"); |
||
39 | editor.session.setMode("ace/mode/javascript"); |
||
40 | </script> |
||
41 | |||
42 | |||
43 | </body> |
||
44 | </html> |