1
0
forked from x/volcanos
This commit is contained in:
IT 老营长 @云轩领航-创始人 2025-02-13 22:35:39 +08:00
parent 7a44753dca
commit 39fcf84f40
2 changed files with 5 additions and 0 deletions

View File

@ -148,6 +148,10 @@ Volcanos(chat.ONSYNTAX, {
"product": code.KEYWORD,
"material": code.KEYWORD,
"publish": code.KEYWORD,
"username": code.FUNCTION, "usernick": code.FUNCTION,
"repos": code.FUNCTION, "binary": code.FUNCTION,
"language": code.FUNCTION, "avatar": code.FUNCTION,
},
func: function(can, push, text, indent, opts) { var ls = can.core.Split(text, "\t ")
opts.chapter = opts.chapter||0

View File

@ -1,6 +1,7 @@
Volcanos(chat.ONIMPORT, {
_init: function(can, msg, cb) { can.page.requireDraw(can, function() { msg.append && can.ConfDefault({field: msg.append[0], split: nfs.PS})
can.db.count = msg.Length()
can.onmotion.toggle(can, can._action, true)
can.dir_root = can.Conf(nfs.DIR_ROOT)||msg.Option(nfs.DIR_ROOT), can._tree = can.onimport._tree(can, msg.Table(), can.Conf(mdb.FIELD), can.Conf(lex.SPLIT))
can.onaction.list = [], can.base.isFunc(cb) && cb(msg), can.onappend._status(can, msg.Option(ice.MSG_STATUS)), can.onimport.layout(can)
can.onappend.style(can, "spides")