use snipetManager for expanding emmet snippets

This commit is contained in:
nightwing 2013-07-27 00:45:08 +04:00
commit d4dcdb7736
4 changed files with 93 additions and 61 deletions

View file

@ -32,7 +32,6 @@
// trigger extension
ace.require("ace/ext/emmet");
var editor = ace.edit("editor");
editor.setTheme("ace/theme/tomorrow");
editor.session.setMode("ace/mode/html");
// enable emmet on the current editor
editor.setOption("enableEmmet", true);