forked from x/volcanos
add some
This commit is contained in:
parent
a6a2b12072
commit
81f8598691
@ -72,7 +72,10 @@ Volcanos("user", {
|
||||
can.user.isWindows && name.push(html.WINDOWS), can.user.isWebview && name.push(html.WEBVIEW)
|
||||
can.page.styleClass(can, document.body, name.join(lex.SP))
|
||||
},
|
||||
title: function(text) { if (window.webview) { return title(text) } return text && (document.title = text), document.title },
|
||||
title: function(text) {
|
||||
if (window.webview) { return title(text) }
|
||||
return text && (document.title = text), document.title
|
||||
},
|
||||
language: function(can) { return (can.misc.SearchOrConf(can, aaa.LANGUAGE)||can.user.info.language||"") },
|
||||
isEnglish: function(can) { return can.base.isIn(can.core.Split(can.user.language(can).toLowerCase()||"en", "_-.")[0], "en", "en-us") },
|
||||
transValue: function(can, value, key) {
|
||||
|
@ -196,7 +196,6 @@ Volcanos(chat.ONEXPORT, {
|
||||
avatar: function(can) { return can.misc.Resource(can, can.user.info.avatar == "void"? "": can.user.info.avatar) },
|
||||
background: function(can) { return can.user.info.background == "void"? "": can.user.info.background },
|
||||
theme: function(can) { return can._theme || can.misc.SearchOrConf(can, chat.THEME) || can.__theme || "" },
|
||||
// || (can.base.isNight()? html.DARK: html.LIGHT) },
|
||||
height: function(can) { return can._target.offsetHeight },
|
||||
})
|
||||
Volcanos(chat.ONPLUGIN, {
|
||||
|
Loading…
x
Reference in New Issue
Block a user