forked from x/volcanos
add some
This commit is contained in:
parent
39fcf84f40
commit
ee60a8b9bc
@ -394,7 +394,7 @@ Volcanos("user", {
|
|||||||
}
|
}
|
||||||
} else if (value.type == mdb.PLUGIN) {
|
} else if (value.type == mdb.PLUGIN) {
|
||||||
_list.push(value.name), list[value.name] = function(target) {
|
_list.push(value.name), list[value.name] = function(target) {
|
||||||
can.onappend.plugin(can, {space: value.space, index: value.index, args: can.core.Split(value.args), height: html.QRCODE_HEIGHT, width: html.IFRAME_HEIGHT, style: html.OUTPUT}, function(sub) {
|
can.onappend.plugin(can, {space: value.space, index: value.index, args: can.core.Split(value.args), height: html.IFRAME_HEIGHT, width: html.IFRAME_HEIGHT, style: html.OUTPUT}, function(sub) {
|
||||||
var run = sub.run; sub.run = function(event, cmds, cb) { var msg = can.request(event, {space: arg[0]}); can.page.exportValue(can, msg), run(event, cmds, cb) }
|
var run = sub.run; sub.run = function(event, cmds, cb) { var msg = can.request(event, {space: arg[0]}); can.page.exportValue(can, msg), run(event, cmds, cb) }
|
||||||
}, ui.output)
|
}, ui.output)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user