forked from x/icebergs
add some
This commit is contained in:
parent
7544359c5c
commit
181b6b4650
@ -1,5 +1,6 @@
|
|||||||
Volcanos(chat.ONIMPORT, {
|
Volcanos(chat.ONIMPORT, {
|
||||||
_init: function(can, msg) { var p = "/cmd/web.wiki.portal"
|
_init: function(can, msg) { var p = "/cmd/web.wiki.portal"
|
||||||
|
can.isCmdMode() && (can.user.toast = function() {})
|
||||||
can.db.prefix = location.pathname.indexOf(p) > 0? location.pathname.split(p)[0]+p: "/wiki/portal/"
|
can.db.prefix = location.pathname.indexOf(p) > 0? location.pathname.split(p)[0]+p: "/wiki/portal/"
|
||||||
can.db.current = can.isCmdMode()? can.base.trimPrefix(location.pathname, can.db.prefix+"/", can.db.prefix): can.Option(nfs.PATH)
|
can.db.current = can.isCmdMode()? can.base.trimPrefix(location.pathname, can.db.prefix+"/", can.db.prefix): can.Option(nfs.PATH)
|
||||||
can.sup.onexport.link = function() { return can.db.prefix }
|
can.sup.onexport.link = function() { return can.db.prefix }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user