mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-26 09:14:06 +08:00
opt vimer.js
This commit is contained in:
parent
239cab91ef
commit
1ab770be44
@ -9,8 +9,11 @@
|
|||||||
|
|
||||||
~web.code
|
~web.code
|
||||||
config inner meta.show.tabs ""
|
config inner meta.show.tabs ""
|
||||||
config inner meta.show.exts "inner/search.js?a=1,inner/favor.js"
|
config inner meta.show.exts "inner/search.js?a=1"
|
||||||
config inner meta.show.plug "web.dream,cli.system"
|
config inner meta.show.plug ""
|
||||||
|
config vimer meta.show.tabs ""
|
||||||
|
config vimer meta.show.exts "inner/search.js?a=1,inner/favor.js"
|
||||||
|
config vimer meta.show.plug "cli.system"
|
||||||
|
|
||||||
~web.code.input
|
~web.code.input
|
||||||
# wubi load file usr/wubi-dict/wubi86
|
# wubi load file usr/wubi-dict/wubi86
|
||||||
|
17
src/h2/h2.go
17
src/h2/h2.go
@ -1,17 +0,0 @@
|
|||||||
package h2
|
|
||||||
|
|
||||||
import (
|
|
||||||
"shylinux.com/x/ice"
|
|
||||||
)
|
|
||||||
|
|
||||||
type h2 struct {
|
|
||||||
ice.Zone
|
|
||||||
|
|
||||||
list string `name:"list zone id auto insert" help:"示例"`
|
|
||||||
}
|
|
||||||
|
|
||||||
func (s h2) List(m *ice.Message, arg ...string) {
|
|
||||||
s.Zone.List(m, arg...)
|
|
||||||
}
|
|
||||||
|
|
||||||
func init() { ice.Cmd("web.code.h2.h2", h2{}) }
|
|
@ -1,4 +0,0 @@
|
|||||||
Volcanos("onimport", {help: "导入数据", _init: function(can, msg) {
|
|
||||||
msg.Echo("hello world")
|
|
||||||
msg.Dump(can)
|
|
||||||
}})
|
|
@ -1,3 +0,0 @@
|
|||||||
chapter "h2"
|
|
||||||
|
|
||||||
field "示例" web.code.h2.h2
|
|
@ -38,10 +38,6 @@ import (
|
|||||||
_ "shylinux.com/x/linux-story/src/busybox"
|
_ "shylinux.com/x/linux-story/src/busybox"
|
||||||
_ "shylinux.com/x/linux-story/src/kernel"
|
_ "shylinux.com/x/linux-story/src/kernel"
|
||||||
_ "shylinux.com/x/linux-story/src/qemu"
|
_ "shylinux.com/x/linux-story/src/qemu"
|
||||||
|
|
||||||
_ "shylinux.com/x/contexts/src/hi"
|
|
||||||
|
|
||||||
_ "shylinux.com/x/contexts/src/h2"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() { print(ice.Run()) }
|
func main() { print(ice.Run()) }
|
10
src/main.js
Normal file
10
src/main.js
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
Volcanos("onimport", {help: "导入数据", _init: function(can, msg) {
|
||||||
|
can.onaction.show(can, msg)
|
||||||
|
msg.Echo("hello world")
|
||||||
|
msg.Echo("hello world")
|
||||||
|
msg.Dump(can)
|
||||||
|
}})
|
||||||
|
Volcanos("onaction", {help: "操作数据", show: function(can, msg) {
|
||||||
|
msg.Push("hi", "hello")
|
||||||
|
msg.Echo("hello world")
|
||||||
|
}})
|
11
src/main.shy
11
src/main.shy
@ -66,3 +66,14 @@ c/c++ golang python java javascript
|
|||||||
`
|
`
|
||||||
|
|
||||||
source h2/h2.shy
|
source h2/h2.shy
|
||||||
|
source h4/h4.shy
|
||||||
|
source h5/h5.shy
|
||||||
|
source h6/h6.shy
|
||||||
|
source h7/h7.shy
|
||||||
|
source h8/h8.shy
|
||||||
|
source h9/h9.shy
|
||||||
|
source h10/h10.shy
|
||||||
|
source h1/h1.shy
|
||||||
|
source h2/h2.shy
|
||||||
|
source h3/h3.shy
|
||||||
|
source h4/h4.shy
|
Loading…
x
Reference in New Issue
Block a user