mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-07 06:40:54 +00:00
Clean up some code with eslint. Add eslintrc. Fix the FFZ:AP fix for jQuery only existing on some pages. Start renaming functions toCamelCase. Add old style RGB Loop color processing. Clean up Chat Freeze a bit.
This commit is contained in:
parent
a887425602
commit
7708caebb5
11 changed files with 333 additions and 171 deletions
|
@ -168,18 +168,18 @@ export default class SettingsManager extends Module {
|
|||
// list rather than just getting the keys from the ID map
|
||||
// because the ID map is an object and coerces its strings
|
||||
// to keys.
|
||||
old_ids = new Set(old_profiles.map(x => x.id));
|
||||
old_ids = new Set(old_profiles.map(x => x.id)),
|
||||
|
||||
let changed = false,
|
||||
moved_ids = new Set,
|
||||
new_ids = new Set,
|
||||
changed_ids = new Set;
|
||||
changed_ids = new Set,
|
||||
|
||||
const raw_profiles = this.provider.get('profiles', [
|
||||
SettingsProfile.Moderation,
|
||||
SettingsProfile.Default
|
||||
]);
|
||||
raw_profiles = this.provider.get('profiles', [
|
||||
SettingsProfile.Moderation,
|
||||
SettingsProfile.Default
|
||||
]);
|
||||
|
||||
let changed = false;
|
||||
for(const profile_data of raw_profiles) {
|
||||
const id = profile_data.id,
|
||||
old_profile = old_profile_ids[id],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue