update graph editor

This commit is contained in:
lxsang
2020-11-19 20:18:10 +00:00
parent dbe567aad9
commit 0532d1fbeb
8 changed files with 11 additions and 5 deletions

View File

@ -30,7 +30,7 @@ class GraphEditor extends this.OS.application.BaseApplication
@datarea = @find "datarea"
@preview = @find "preview"
@btctn = @find "btn-container"
ace.config.set("basePath", "/scripts/ace")
ace.config.set("basePath", "#{window.location.pathname}/scripts/ace")
@editor = ace.edit @datarea
@editor.setOptions {
enableBasicAutocompletion: true,