forked from x/volcanos
opt some
This commit is contained in:
parent
c9cdd070a6
commit
b746f10c4e
2
proto.js
2
proto.js
@ -214,7 +214,7 @@ var Volcanos = shy("火山架", {iceberg: "/chat/", volcano: "/frame.js", args:
|
||||
},
|
||||
request: function(event, option) { event = event||{}
|
||||
var msg = event._msg||can.misc.Message(event, can); event._msg = msg
|
||||
function set(key, value) { msg.Option(key) || msg.Option(key, value) }
|
||||
function set(key, value) { msg.Option(key) || value == "" || msg.Option(key, value) }
|
||||
|
||||
can.core.List(arguments, function(option, index) { if (index == 0) { return }
|
||||
can.base.isFunc(option.Option)? can.core.List(option.Option(), function(key) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user