1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-03 16:38:31 +00:00

Add a setting for tab-completion of FFZ emotes. Process default values of settings with merge strategies.

This commit is contained in:
SirStendec 2018-03-30 19:54:26 -04:00
parent d922c00748
commit 79e4b02e6b
6 changed files with 44 additions and 11 deletions

View file

@ -43,6 +43,15 @@ export const object_merge = {
export const array_merge = {
default(val) {
const values = [];
for(const v of val)
if ( v.t !== 'inherit' && v.v )
values.push(v.v);
return values;
},
get(key, profiles, log) {
const values = [],
trailing = [],