mirror of
https://shylinux.com/x/volcanos
synced 2025-04-26 17:24:06 +08:00
opt some
This commit is contained in:
parent
41e5a4ed45
commit
4033863062
5
proto.js
5
proto.js
@ -205,10 +205,7 @@ var Volcanos = shy("火山架", {iceberg: "/chat/", volcano: "/frame.js", args:
|
|||||||
},
|
},
|
||||||
request: function(event, option) { event = event||{}
|
request: function(event, option) { event = event||{}
|
||||||
var msg = event._msg||can.misc.Message(event, can); event._msg = msg
|
var msg = event._msg||can.misc.Message(event, can); event._msg = msg
|
||||||
function set(key, value) {
|
function set(key, value) { msg.Option(key) || msg.Option(key, value) }
|
||||||
can.misc.Log(key, msg.Option(key))
|
|
||||||
msg.Option(key) || msg.Option(key, value)
|
|
||||||
}
|
|
||||||
|
|
||||||
can.core.List(arguments, function(option, index) { if (index == 0) { return }
|
can.core.List(arguments, function(option, index) { if (index == 0) { return }
|
||||||
can.base.isFunc(option.Option)? can.core.List(option.Option(), function(key) {
|
can.base.isFunc(option.Option)? can.core.List(option.Option(), function(key) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user