mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
add some
This commit is contained in:
parent
668e6faf22
commit
0e52de58dc
1
const.js
1
const.js
@ -409,6 +409,7 @@ var icon = {
|
|||||||
runtime: "bi bi-info-square",
|
runtime: "bi bi-info-square",
|
||||||
template: "bi bi-file-earmark-medical",
|
template: "bi bi-file-earmark-medical",
|
||||||
binary: "bi bi-disc",
|
binary: "bi bi-disc",
|
||||||
|
title: "bi bi-textarea-t",
|
||||||
name: "bi bi-textarea-t",
|
name: "bi bi-textarea-t",
|
||||||
type: "bi bi-card-list",
|
type: "bi bi-card-list",
|
||||||
send: "bi bi-send-check",
|
send: "bi bi-send-check",
|
||||||
|
2
proto.js
2
proto.js
@ -70,7 +70,7 @@ var Volcanos = shy({iceberg: "", volcano: "", frame: chat.FRAME_JS, _cache: {},
|
|||||||
},
|
},
|
||||||
runAction: function(event, action, args, cb, silent) {
|
runAction: function(event, action, args, cb, silent) {
|
||||||
can.request(event, {_handle: ice.TRUE}, can.Option())._caller()
|
can.request(event, {_handle: ice.TRUE}, can.Option())._caller()
|
||||||
can.run(event, [ctx.ACTION].concat(action, args), cb, silent)
|
can.run(event, [ctx.ACTION].concat(action, args||[]), cb, silent)
|
||||||
},
|
},
|
||||||
search: function(event, cmds, cb) {
|
search: function(event, cmds, cb) {
|
||||||
if (cmds && typeof cmds == code.OBJECT && cmds.length > 0 && typeof cmds[0] == code.OBJECT && cmds[0].length > 0 ) { cmds[0] = cmds[0].join(nfs.PT) }
|
if (cmds && typeof cmds == code.OBJECT && cmds.length > 0 && typeof cmds[0] == code.OBJECT && cmds[0].length > 0 ) { cmds[0] = cmds[0].join(nfs.PT) }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user