mirror of
https://shylinux.com/x/volcanos
synced 2025-04-25 16:58:06 +08:00
14 lines
602 B
JavaScript
14 lines
602 B
JavaScript
Volcanos(chat.ONIMPORT, {list: ["main", "filter", "grep:button", "history", "last"], _init: function(can, msg) {
|
|
can.onmotion.clear(can), can.onappend.table(can, msg)
|
|
can.onmotion.delay(can, function() {
|
|
can.page.Select(can, can._option, "input[name=filter]", function(target) {
|
|
target.onkeyup = function(event) { can.misc.Event(event, can, function(msg) {
|
|
can.onmotion.highlight(can, target.value)
|
|
}) }
|
|
})
|
|
})
|
|
}})
|
|
Volcanos(chat.ONACTION, {
|
|
grep: function(event, can, button) { can.runAction(event, nfs.GREP, [can.Option("main")], function(msg) { can.onimport._init(can, msg) }) },
|
|
})
|