Merge pull request #1071 from ajaxorg/site

fix workers on ace.ajax.org
This commit is contained in:
Garen Torikian 2012-10-27 21:05:20 -07:00
commit b7e4d83233
3 changed files with 83 additions and 6 deletions

View file

@ -2,6 +2,7 @@ var editor;
var embedded_editor;
$(function() {
hljs.initHighlighting();
ace.config.set("workerPath", "build/src-min");
editor = ace.edit("ace_editor_demo");
embedded_editor = ace.edit("embedded_ace_code");
editor.getSession().setMode("ace/mode/javascript");