forked from x/volcanos
add some
This commit is contained in:
parent
af2222ca55
commit
a6a2b12072
2
frame.js
2
frame.js
@ -348,7 +348,7 @@ Volcanos(chat.ONAPPEND, {
|
||||
Volcanos(display, {_root: can._root, _follow: can.core.Keys(can._follow, display), _fields: can._target, _target: output, _path: display||chat.PLUGIN_TABLE_JS,
|
||||
_legend: can._legend, _option: can._option, _action: action||can._action, _output: output, _status: status||can._status,
|
||||
Update: can.Update, Option: can.Option, Action: can.Action, Status: can.Status, db: {hash: [""], value: {}}, ui: {layout: function() {}},
|
||||
}, [display, msg.Option(ice.MSG_DISPLAY_CSS)||undefined, chat.PLUGIN_TABLE_JS], function(sub) { sub.Conf(can.Conf())
|
||||
}, [display, msg.Option(ice.MSG_DISPLAY_CSS)||can.Conf("display_css")||undefined, chat.PLUGIN_TABLE_JS], function(sub) { sub.Conf(can.Conf())
|
||||
sub.db.hash = can.base.getValid(can.isCmdMode()? can.misc.SearchHash(can): [], can.onexport.storage(can, "hash"))||[]
|
||||
var last = can.sub; last && can.core.CallFunc([last, "onaction.hidden"], {can: last})
|
||||
sub.run = function(event, cmds, cb, silent) { var msg = sub.request(event)._caller()
|
||||
|
@ -204,7 +204,9 @@ Volcanos(chat.ONIMPORT, {
|
||||
},
|
||||
process: function(can, msg, target, height, width, cb) { can.onmotion.clear(can, target)
|
||||
if (msg.Option(ice.MSG_PROCESS) == ice.PROCESS_FIELD) {
|
||||
msg.Table(function(item) { item.type = chat.STORY, item.height = height, item.width = width, item.display = msg.Option(ice.MSG_DISPLAY)
|
||||
msg.Table(function(item) { item.type = chat.STORY, item.height = height, item.width = width
|
||||
item.display = msg.Option(ice.MSG_DISPLAY)
|
||||
item.display_css = msg.Option(ice.MSG_DISPLAY_CSS)
|
||||
if (can.base.isIn(item.index, web.WIKI_WORD)) { item.style = html.OUTPUT }
|
||||
can.onimport.plug(can, item, function(sub) {
|
||||
sub.onaction.close = function() { can.onmotion.hidden(can, target), can.onimport.layout(can) }
|
||||
|
@ -26,6 +26,7 @@ Volcanos(chat.ONFIGURE, {
|
||||
// nfs.USR_LEARNING, nfs.USR_INTSHELL,
|
||||
nfs.USR_ICONS, nfs.USR_GEOAREA, nfs.USR_NODE_MODULES,
|
||||
// nfs.USR_PROGRAM,
|
||||
"usr/material/",
|
||||
nfs.USR_WEBSOCKET, nfs.USR_GO_QRCODE, nfs.USR_GO_GIT
|
||||
)) { return }
|
||||
if (p && paths.indexOf(p) == -1 && p[0] != nfs.PS) { paths.push(p) }
|
||||
|
Loading…
x
Reference in New Issue
Block a user