Fix: a better way to draw list?
This commit is contained in:
parent
a849fd6dda
commit
79833d8bba
|
@ -49,8 +49,8 @@ var usercss = (() => {
|
|||
});
|
||||
}
|
||||
|
||||
function drawList(chars) {
|
||||
return chars.map(c => c === '"' ? "'\"'" : `"${c}"`).join(', ');
|
||||
function drawList(items) {
|
||||
return items.map(i => i.length === 1 ? JSON.stringify(i) : i).join(', ');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue
Block a user