mirror of
https://shylinux.com/x/ContextOS
synced 2025-06-26 18:07:30 +08:00
opt inner.js
This commit is contained in:
parent
d8c6c25b6b
commit
1596f99f56
@ -7,6 +7,13 @@
|
|||||||
role white void web.wiki.word
|
role white void web.wiki.word
|
||||||
role white void web.wiki.draw
|
role white void web.wiki.draw
|
||||||
|
|
||||||
|
~web.code
|
||||||
|
# config inner meta.show.plug "web.chat.website,web.dream"
|
||||||
|
config inner meta.show.plug "cli.system,web.dream"
|
||||||
|
# config inner meta.show.exts "inner/search.js?a=1,inner/favor.js,inner/template.js"
|
||||||
|
config inner meta.show.exts "inner/search.js?a=1,inner/favor.js"
|
||||||
|
config inner meta.show.tabs "src/:main.go:1,src/:main.shy:1"
|
||||||
|
|
||||||
~web.code.input
|
~web.code.input
|
||||||
# wubi load file usr/wubi-dict/wubi86
|
# wubi load file usr/wubi-dict/wubi86
|
||||||
wubi load file usr/wubi-dict/person zone person
|
wubi load file usr/wubi-dict/person zone person
|
||||||
|
18
src/main.shy
18
src/main.shy
@ -1,3 +1,21 @@
|
|||||||
|
field "src/hi/hi.go" web.code.inner spark `
|
||||||
|
package hi
|
||||||
|
|
||||||
|
import (
|
||||||
|
"shylinux.com/x/ice"
|
||||||
|
)
|
||||||
|
|
||||||
|
type hi struct {
|
||||||
|
ice.Zone
|
||||||
|
}
|
||||||
|
|
||||||
|
func (h hi) List(m *ice.Message, arg ...string) {
|
||||||
|
h.Zone.List(m, arg...)
|
||||||
|
}
|
||||||
|
|
||||||
|
func init() { ice.Cmd("web.code.hi.hi", hi{}) }
|
||||||
|
`
|
||||||
|
|
||||||
title "contexts"
|
title "contexts"
|
||||||
refer `
|
refer `
|
||||||
官网 https://contexts.com.cn
|
官网 https://contexts.com.cn
|
||||||
|
Loading…
x
Reference in New Issue
Block a user