mirror of
https://shylinux.com/x/volcanos
synced 2025-04-26 09:14:06 +08:00
opt some
This commit is contained in:
parent
46f561953c
commit
312f81ac4b
@ -322,7 +322,7 @@ Volcanos(chat.ONACTION, {help: "控件交互",
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
"编辑器": function(event, can) {
|
"编辑器": function(event, can) {
|
||||||
window.opencmd("cd ~/contexts; vim "+can.Option(nfs.PATH)+can.Option(nfs.FILE)+" +"+can.Option(nfs.LINE))
|
window.opencmd("cd ~/contexts; vim +"+can.Option(nfs.LINE)+" "+can.Option(nfs.PATH)+can.Option(nfs.FILE))
|
||||||
},
|
},
|
||||||
"浏览器": function(event, can) {
|
"浏览器": function(event, can) {
|
||||||
window.openurl(location.href)
|
window.openurl(location.href)
|
||||||
|
@ -67,8 +67,7 @@ Volcanos(chat.ONIMPORT, {help: "导入数据", _init: function(can, msg, cb, tar
|
|||||||
}, onclick: function(event) {
|
}, onclick: function(event) {
|
||||||
can.onmotion.focus(can, event.target)
|
can.onmotion.focus(can, event.target)
|
||||||
}, _init: function(target) { zone._search = target
|
}, _init: function(target) { zone._search = target
|
||||||
can.onmotion.delay(can, function() { can.page.styleWidth(can, target, target.parentNode.parentNode.parentNode.offsetWidth-32) })
|
can.onmotion.delay(can, function() { can.page.styleWidth(can, target, can.core.Value(target.parentNode.parentNode, "parentNode.offsetWidth")-32) })
|
||||||
// can.onappend.figure(can, {name: zone.name}, target)
|
|
||||||
}}], target, {})
|
}}], target, {})
|
||||||
}},
|
}},
|
||||||
{view: html.LIST, _init: function(target) { can.ui[zone.name] = zone
|
{view: html.LIST, _init: function(target) { can.ui[zone.name] = zone
|
||||||
|
Loading…
x
Reference in New Issue
Block a user