update compatibility to AntOS next

This commit is contained in:
mrsang
2021-04-21 11:37:58 +02:00
parent bc33f7ff10
commit 190c2fd346
1014 changed files with 96281 additions and 2092 deletions

View File

@@ -28,7 +28,6 @@ class VizApp extends this.OS.application.BaseApplication
@btctn = @find "btn-container"
@previewSVG = undefined
$(@preview).append @btctn
ace.config.set("basePath", "scripts/ace")
@editor = ace.edit @datarea
@editor.setOptions {
enableBasicAutocompletion: true,
@@ -249,6 +248,7 @@ digraph D {
}
"""
VizApp.dependencies = [
"os://scripts/ace/ace.js"
"pkg://ACECore/core/ace.js",
"pkg://ACECore/path.js"
]
this.OS.register "VizApp", VizApp