|
|
@@ -21,18 +21,13 @@ |
|
|
|
</head> |
|
|
|
<body> |
|
|
|
|
|
|
|
<pre id="editor">function foo(items) { |
|
|
|
var i; |
|
|
|
for (i = 0; i < items.length; i++) { |
|
|
|
alert("Ace Rocks " + items[i]); |
|
|
|
} |
|
|
|
}</pre> |
|
|
|
<pre id="editor"></pre> |
|
|
|
|
|
|
|
<script src="src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script> |
|
|
|
<script> |
|
|
|
var editor = ace.edit("editor"); |
|
|
|
editor.setTheme("ace/theme/twilight"); |
|
|
|
editor.session.setMode("ace/mode/javascript"); |
|
|
|
editor.session.setMode("ace/mode/markdown"); |
|
|
|
</script> |
|
|
|
|
|
|
|
</body> |