mirror of
https://shylinux.com/x/volcanos
synced 2025-04-26 09:14:06 +08:00
opt dream
This commit is contained in:
parent
890a227ab1
commit
99cdfe1ded
1
const.js
1
const.js
@ -184,6 +184,7 @@ var cli = {
|
|||||||
RUNTIME: "runtime", SYSTEM: "system", DAEMON: "daemon", ORDER: "order", BUILD: "build", OPENS: "opens",
|
RUNTIME: "runtime", SYSTEM: "system", DAEMON: "daemon", ORDER: "order", BUILD: "build", OPENS: "opens",
|
||||||
BEGIN: "begin", END: "end", START: "start", RESTART: "restart", STOP: "stop", OPEN: "open", CLOSE: "close",
|
BEGIN: "begin", END: "end", START: "start", RESTART: "restart", STOP: "stop", OPEN: "open", CLOSE: "close",
|
||||||
REBOOT: "reboot",
|
REBOOT: "reboot",
|
||||||
|
DELAY: "delay",
|
||||||
QRCODE: "qrcode", COLOR: "color", BLACK: "black", WHITE: "white", BLUE: "blue", RED: "red", GRAY: "gray", CYAN: "cyan", GREEN: "green", PURPLE: "purple", YELLOW: "yellow",
|
QRCODE: "qrcode", COLOR: "color", BLACK: "black", WHITE: "white", BLUE: "blue", RED: "red", GRAY: "gray", CYAN: "cyan", GREEN: "green", PURPLE: "purple", YELLOW: "yellow",
|
||||||
MAGENTA: "magenta", SILVER: "silver", ALICEBLUE: "aliceblue", TRANSPARENT: "transparent",
|
MAGENTA: "magenta", SILVER: "silver", ALICEBLUE: "aliceblue", TRANSPARENT: "transparent",
|
||||||
LINUX: "linux", DARWIN: "darwin", WINDOWS: "windows",
|
LINUX: "linux", DARWIN: "darwin", WINDOWS: "windows",
|
||||||
|
@ -32,7 +32,7 @@ Volcanos(chat.ONIMPORT, {
|
|||||||
var msg = can.sub._grow_list.shift(), list = [], text = msg.detail[1]; for (var i = 0; i < text.length; i++) { list.push(text[i]) }
|
var msg = can.sub._grow_list.shift(), list = [], text = msg.detail[1]; for (var i = 0; i < text.length; i++) { list.push(text[i]) }
|
||||||
can.core.Next(list, function(text, next) {
|
can.core.Next(list, function(text, next) {
|
||||||
can.sub._grow.onimport.grow(can.sub._grow, msg, "only", text)
|
can.sub._grow.onimport.grow(can.sub._grow, msg, "only", text)
|
||||||
can.core.Timer(msg.Option("delay")||30, next)
|
can.core.Timer(msg.Option(cli.DELAY)||0, next)
|
||||||
}, function() { can.sub._grow_running = false, _grow() })
|
}, function() { can.sub._grow_running = false, _grow() })
|
||||||
}
|
}
|
||||||
if (can.sub._grow) {
|
if (can.sub._grow) {
|
||||||
@ -42,9 +42,8 @@ Volcanos(chat.ONIMPORT, {
|
|||||||
}
|
}
|
||||||
var height = can.onexport.outputHeight(can)
|
var height = can.onexport.outputHeight(can)
|
||||||
can.onappend.plugin(can, {index: "can._plugin", title: msg.Option(ctx.DISPLAY).split(nfs.PS).pop(), display: msg.Option(ctx.DISPLAY), height: height}, function(sub) {
|
can.onappend.plugin(can, {index: "can._plugin", title: msg.Option(ctx.DISPLAY).split(nfs.PS).pop(), display: msg.Option(ctx.DISPLAY), height: height}, function(sub) {
|
||||||
sub.onexport.output = function() { can.sub._grow = sub.sub, _grow() }
|
sub.onexport.output = function() { can.onmotion.scrollIntoView(can, sub._target), can.sub._grow = sub.sub, _grow() }
|
||||||
})
|
}); return
|
||||||
return
|
|
||||||
}
|
}
|
||||||
arg = can.page.Color(arg); if (!can.page.SelectOne(can, can._output, html.DIV_CODE, function(div) {
|
arg = can.page.Color(arg); if (!can.page.SelectOne(can, can._output, html.DIV_CODE, function(div) {
|
||||||
return can.page.style(can, div, html.MAX_HEIGHT, can.onexport.outputHeight(can)),
|
return can.page.style(can, div, html.MAX_HEIGHT, can.onexport.outputHeight(can)),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user