mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2025-07-13 22:24:25 +02:00
update compatibility to AntOS next
This commit is contained in:
@ -149,7 +149,6 @@ class LuaPlayground extends this.OS.application.BaseApplication
|
||||
main: () ->
|
||||
@datarea = @find "editorea"
|
||||
@output = @find "output"
|
||||
ace.config.set('basePath', "scripts/ace")
|
||||
@.editor = ace.edit @datarea
|
||||
@.editor.setOptions {
|
||||
enableBasicAutocompletion: true,
|
||||
@ -231,5 +230,8 @@ class LuaPlayground extends this.OS.application.BaseApplication
|
||||
cleanup: (e)->
|
||||
@socket.close() if @socket
|
||||
|
||||
LuaPlayground.dependencies = ["os://scripts/ace/ace.js"]
|
||||
LuaPlayground.dependencies = [
|
||||
"pkg://ACECore/core/ace.js",
|
||||
"pkg://ACECore/path.js",
|
||||
]
|
||||
this.OS.register "LuaPlayground", LuaPlayground
|
||||
|
Reference in New Issue
Block a user