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) {
|
||||
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 () {
|
||||
|
@ -77,7 +77,8 @@ const k_global_settings = {
|
||||
peer_exchange: {
|
||||
type: 'boolean',
|
||||
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: {
|
||||
type: 'boolean',
|
||||
@ -1350,8 +1351,4 @@ function storePermission(user, packageOwner, packageName, permission, allow) {
|
||||
}
|
||||
}
|
||||
|
||||
export {
|
||||
gGlobalSettings as globalSettings,
|
||||
invoke,
|
||||
getSessionProcessBlob,
|
||||
};
|
||||
export {gGlobalSettings as globalSettings, invoke, getSessionProcessBlob};
|
||||
|
Loading…
Reference in New Issue
Block a user