mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2024-12-26 04:08:21 +01:00
update LuaPlayground + add Docify
This commit is contained in:
parent
e3862fb0f5
commit
dbe567aad9
15
Docify/README.md
Normal file
15
Docify/README.md
Normal file
@ -0,0 +1,15 @@
|
||||
# Docify
|
||||
This is an example project, generated by AntOS Development Kit
|
||||
|
||||
## Howto
|
||||
Use the CodePad command palette to access to the SDK functionalities:
|
||||
|
||||
1. Create new project
|
||||
2. Init the project from the current folder located in side bar
|
||||
3. Build and run the project
|
||||
4. Release the project in zip package
|
||||
|
||||
## Set up build target
|
||||
|
||||
Open the `project.json` file from the current project tree and add/remove
|
||||
build target entries. Save the file
|
1
Docify/api/api.lua
Normal file
1
Docify/api/api.lua
Normal file
@ -0,0 +1 @@
|
||||
result("Hello from server side")
|
22
Docify/assets/scheme.html
Normal file
22
Docify/assets/scheme.html
Normal file
@ -0,0 +1,22 @@
|
||||
<afx-app-window apptitle="Docify" width="700" height="400" data-id="Docify">
|
||||
<afx-hbox >
|
||||
<div data-width="5"></div>
|
||||
<afx-vbox data-width="150">
|
||||
<afx-label class="header" iconclass = "fa fa-bars" text="__(Categories)" data-height="22"></afx-label>
|
||||
<afx-tree-view data-id="catview"></afx-tree-view>
|
||||
<afx-hbox data-height="30">
|
||||
<div data-width="5"></div>
|
||||
<afx-button data-width = "25" text = "" iconclass = "fa fa-plus-circle"></afx-button>
|
||||
<afx-button data-width = "25" text = "" iconclass = "fa fa-minus-circle"></afx-button>
|
||||
<afx-button data-width = "25" text = "" iconclass = "fa fa-pencil-square-o"></afx-button>
|
||||
|
||||
</afx-hbox>
|
||||
</afx-vbox>
|
||||
<afx-resizer data-width="4"></afx-resizer>
|
||||
<afx-vbox data-width = "300">
|
||||
<afx-grid-view data-id="gridview"></afx-grid-view>
|
||||
</afx-vbox>
|
||||
<afx-resizer data-width="4"></afx-resizer>
|
||||
<afx-vbox></afx-vbox>
|
||||
</afx-hbox>
|
||||
</afx-app-window>
|
15
Docify/build/debug/README.md
Normal file
15
Docify/build/debug/README.md
Normal file
@ -0,0 +1,15 @@
|
||||
# Docify
|
||||
This is an example project, generated by AntOS Development Kit
|
||||
|
||||
## Howto
|
||||
Use the CodePad command palette to access to the SDK functionalities:
|
||||
|
||||
1. Create new project
|
||||
2. Init the project from the current folder located in side bar
|
||||
3. Build and run the project
|
||||
4. Release the project in zip package
|
||||
|
||||
## Set up build target
|
||||
|
||||
Open the `project.json` file from the current project tree and add/remove
|
||||
build target entries. Save the file
|
5
Docify/build/debug/main.css
Normal file
5
Docify/build/debug/main.css
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
afx-app-window[data-id = "Docify"] .header .label-text
|
||||
{
|
||||
font-weight: bold !important;
|
||||
}
|
15
Docify/build/debug/main.js
Normal file
15
Docify/build/debug/main.js
Normal file
@ -0,0 +1,15 @@
|
||||
(function() {
|
||||
var Docify;
|
||||
|
||||
Docify = class Docify extends this.OS.application.BaseApplication {
|
||||
constructor(args) {
|
||||
super("Docify", args);
|
||||
}
|
||||
|
||||
main() {}
|
||||
|
||||
};
|
||||
|
||||
this.OS.register("Docify", Docify);
|
||||
|
||||
}).call(this);
|
15
Docify/build/debug/package.json
Normal file
15
Docify/build/debug/package.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"pkgname": "Docify",
|
||||
"app":"Docify",
|
||||
"name":"Docify",
|
||||
"description":"Docify",
|
||||
"info":{
|
||||
"author": "",
|
||||
"email": ""
|
||||
},
|
||||
"version":"0.0.1-a",
|
||||
"category":"Other",
|
||||
"iconclass":"fa fa-adn",
|
||||
"mimes":["none"],
|
||||
"locale": {}
|
||||
}
|
22
Docify/build/debug/scheme.html
Normal file
22
Docify/build/debug/scheme.html
Normal file
@ -0,0 +1,22 @@
|
||||
<afx-app-window apptitle="Docify" width="700" height="400" data-id="Docify">
|
||||
<afx-hbox >
|
||||
<div data-width="5"></div>
|
||||
<afx-vbox data-width="150">
|
||||
<afx-label class="header" iconclass = "fa fa-bars" text="__(Categories)" data-height="22"></afx-label>
|
||||
<afx-tree-view data-id="catview"></afx-tree-view>
|
||||
<afx-hbox data-height="30">
|
||||
<div data-width="5"></div>
|
||||
<afx-button data-width = "25" text = "" iconclass = "fa fa-plus-circle"></afx-button>
|
||||
<afx-button data-width = "25" text = "" iconclass = "fa fa-minus-circle"></afx-button>
|
||||
<afx-button data-width = "25" text = "" iconclass = "fa fa-pencil-square-o"></afx-button>
|
||||
|
||||
</afx-hbox>
|
||||
</afx-vbox>
|
||||
<afx-resizer data-width="4"></afx-resizer>
|
||||
<afx-vbox data-width = "300">
|
||||
<afx-grid-view data-id="gridview"></afx-grid-view>
|
||||
</afx-vbox>
|
||||
<afx-resizer data-width="4"></afx-resizer>
|
||||
<afx-vbox></afx-vbox>
|
||||
</afx-hbox>
|
||||
</afx-app-window>
|
7
Docify/coffees/main.coffee
Normal file
7
Docify/coffees/main.coffee
Normal file
@ -0,0 +1,7 @@
|
||||
class Docify extends this.OS.application.BaseApplication
|
||||
constructor: ( args ) ->
|
||||
super "Docify", args
|
||||
|
||||
main: () ->
|
||||
|
||||
this.OS.register "Docify", Docify
|
4
Docify/css/main.css
Normal file
4
Docify/css/main.css
Normal file
@ -0,0 +1,4 @@
|
||||
afx-app-window[data-id = "Docify"] .header .label-text
|
||||
{
|
||||
font-weight: bold;
|
||||
}
|
15
Docify/package.json
Normal file
15
Docify/package.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"pkgname": "Docify",
|
||||
"app":"Docify",
|
||||
"name":"Docify",
|
||||
"description":"Docify",
|
||||
"info":{
|
||||
"author": "",
|
||||
"email": ""
|
||||
},
|
||||
"version":"0.0.1-a",
|
||||
"category":"Other",
|
||||
"iconclass":"fa fa-adn",
|
||||
"mimes":["none"],
|
||||
"locale": {}
|
||||
}
|
8
Docify/project.json
Normal file
8
Docify/project.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "Docify",
|
||||
"root": "home://workspace/antosdk-apps/Docify",
|
||||
"css": ["css/main.css"],
|
||||
"javascripts": [],
|
||||
"coffees": ["coffees/main.coffee"],
|
||||
"copies": ["assets/scheme.html", "api/api.lua", "package.json", "README.md"]
|
||||
}
|
@ -1,4 +1,8 @@
|
||||
#LuaPlayground
|
||||
|
||||
|
||||
Application for serverside code testing and analytics tool.
|
||||
It allows to execute lua code on the server from the browser
|
||||
It allows to execute lua code on the server from the browser
|
||||
|
||||
## Change logs
|
||||
* 0.0.5-a: Fix worker path error
|
@ -1,4 +1,8 @@
|
||||
#LuaPlayground
|
||||
|
||||
|
||||
Application for serverside code testing and analytics tool.
|
||||
It allows to execute lua code on the server from the browser
|
||||
It allows to execute lua code on the server from the browser
|
||||
|
||||
## Change logs
|
||||
* 0.0.5-a: Fix worker path error
|
File diff suppressed because one or more lines are too long
@ -6,7 +6,7 @@
|
||||
"author": "Xuan Sang LEs",
|
||||
"email": "xsang.le@gmail.com"
|
||||
},
|
||||
"version":"0.0.4-a",
|
||||
"version":"0.0.5-a",
|
||||
"category":"System",
|
||||
"iconclass":"fa fa-adn",
|
||||
"mimes":["none"]
|
||||
|
Binary file not shown.
@ -149,7 +149,7 @@ class LuaPlayground extends this.OS.application.BaseApplication
|
||||
main: () ->
|
||||
@datarea = @find "editorea"
|
||||
@output = @find "output"
|
||||
ace.config.set('basePath', '/scripts/ace')
|
||||
ace.config.set('basePath', "#{window.location.pathname}/scripts/ace")
|
||||
@.editor = ace.edit @datarea
|
||||
@.editor.setOptions {
|
||||
enableBasicAutocompletion: true,
|
||||
|
@ -6,7 +6,7 @@
|
||||
"author": "Xuan Sang LEs",
|
||||
"email": "xsang.le@gmail.com"
|
||||
},
|
||||
"version":"0.0.4-a",
|
||||
"version":"0.0.5-a",
|
||||
"category":"System",
|
||||
"iconclass":"fa fa-adn",
|
||||
"mimes":["none"]
|
||||
|
@ -95,7 +95,7 @@
|
||||
"description": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/LuaPlayground/README.md",
|
||||
"category": "System",
|
||||
"author": "Xuan Sang LEs",
|
||||
"version": "0.0.4-a",
|
||||
"version": "0.0.5-a",
|
||||
"download": "https://raw.githubusercontent.com/lxsang/antosdk-apps/master/LuaPlayground/build/release/LuaPlayground.zip"
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user