forked from cory/tildefriends
I guess prettier says this, now.
This commit is contained in:
parent
2a5f71bd5d
commit
4af5e8ec42
@ -28,7 +28,10 @@ function global_settings_set(key, value) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function title_case(name) {
|
function title_case(name) {
|
||||||
return name.split('_').map(x => x.charAt(0).toUpperCase() + x.substring(1)).join(' ');
|
return name
|
||||||
|
.split('_')
|
||||||
|
.map((x) => x.charAt(0).toUpperCase() + x.substring(1))
|
||||||
|
.join(' ');
|
||||||
}
|
}
|
||||||
|
|
||||||
window.addEventListener('load', function () {
|
window.addEventListener('load', function () {
|
||||||
|
@ -77,7 +77,8 @@ const k_global_settings = {
|
|||||||
peer_exchange: {
|
peer_exchange: {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
default_value: false,
|
default_value: false,
|
||||||
description: 'Enable discovery of, sharing of, and connecting to internet peer strangers, including announcing this instance.',
|
description:
|
||||||
|
'Enable discovery of, sharing of, and connecting to internet peer strangers, including announcing this instance.',
|
||||||
},
|
},
|
||||||
account_registration: {
|
account_registration: {
|
||||||
type: 'boolean',
|
type: 'boolean',
|
||||||
@ -1350,8 +1351,4 @@ function storePermission(user, packageOwner, packageName, permission, allow) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export {
|
export {gGlobalSettings as globalSettings, invoke, getSessionProcessBlob};
|
||||||
gGlobalSettings as globalSettings,
|
|
||||||
invoke,
|
|
||||||
getSessionProcessBlob,
|
|
||||||
};
|
|
||||||
|
Loading…
Reference in New Issue
Block a user