cleanup
This commit is contained in:
parent
37fc612756
commit
7b80bb793e
4 changed files with 15 additions and 6 deletions
|
|
@ -6,10 +6,13 @@ $(function() {
|
|||
editor.container.style.opacity = "";
|
||||
embedded_editor = ace.edit("embedded_ace_code");
|
||||
embedded_editor.container.style.opacity = "";
|
||||
editor.session.setMode("ace/mode/javascript");
|
||||
editor.session.setMode("ace/mode/javascript");
|
||||
editor.session.setMode("ace/mode/javascript");
|
||||
embedded_editor.session.setMode("ace/mode/html");
|
||||
|
||||
editor.setOptions({
|
||||
maxLines: 30
|
||||
})
|
||||
|
||||
ace.config.loadModule("ace/ext/emmet", function() {
|
||||
ace.require("ace/lib/net").loadScript("http://nightwing.github.io/emmet-core/emmet.js", function() {
|
||||
embedded_editor.setOption("enableEmmet", true);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue