1
0
forked from x/volcanos
This commit is contained in:
harveyshao 2022-12-13 21:26:45 +08:00
parent 90df54ba48
commit 4a5f41fe6f
2 changed files with 5 additions and 3 deletions

View File

@ -60,6 +60,7 @@ Volcanos("user", {info: {}, agent: {
web.CLEAR, "清空", web.REFRESH, "刷新", web.SUBMIT, "提交", web.CANCEL, "取消", web.UPLOAD, "上传", web.DOWNLOAD, "下载", web.TOIMAGE, "截图", web.SHARE, "共享",
"Close", "关闭", "Close others", "关闭其它", "Close all", "关闭所有",
chat.IFRAME, "浏览", chat.LOCATION, "地图",
code.INNER, "源码",
nfs.SAVE, "保存", nfs.LOAD, "加载",
cli.SYSTEM, "命令", cli.ORDER, "加载", cli.BUILD, "构建",
aaa.INVITE, "邀请",

View File

@ -524,9 +524,10 @@ Volcanos(chat.ONACTION, {list: [],
path: "usr/volcanos/", file: "lib/misc.js", line: 1,
})
})
can.core.List([can.base, can.core, can.misc, can.page, can.user, can.onengine, can.ondaemon, can.onappend, can.onlayout, can.onmotion, can.onkeymap], function(lib) {
can.core.Item(lib, function(key, value) { if (key.indexOf("_") == 0 || !lib.hasOwnProperty(key)) { return }
list.push({zone: lib._name, type: typeof value, name: key, text: can.base.isObject(value)? "": (value+"").split(ice.NL)[0],
can.page._path = "/lib/page.js"
can.core.Item(can, function(zone, lib) { if (zone.indexOf("_") == 0) { return }
can.core.Item(lib, function(key, value) { if (!lib.hasOwnProperty(key)) { return }
lib._path && list.push({zone: zone, type: typeof value, name: key, text: can.base.isObject(value)? "": (value+"").split(ice.NL)[0],
path: "usr/volcanos/", file: lib._path, line: 1,
})
})