1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-10-11 13:41:57 +00:00
* Fixed: The Channel Title settings profile not working.
* Fixed: Remove an unnecessary import that VS Code *helpfully* forced into the channel module last commit.
* Changed: Only load the `safe-regex` module on demand, it's kind of hefty.
This commit is contained in:
SirStendec 2020-07-18 16:27:45 -04:00
parent 22c60050e0
commit 5b76e7c22a
6 changed files with 50 additions and 21 deletions

View file

@ -4,7 +4,7 @@
// Advanced Filter System
// ============================================================================
export function createTester(rules, filter_types, inverted = false, or = false) {
export function createTester(rules, filter_types, inverted = false, or = false, rebuild) {
if ( ! Array.isArray(rules) || ! filter_types )
return inverted ? () => false : () => true;
@ -21,7 +21,7 @@ export function createTester(rules, filter_types, inverted = false, or = false)
continue;
i++;
tests.push(type.createTest(rule.data, filter_types));
tests.push(type.createTest(rule.data, filter_types, rebuild));
names.push(`f${i}`);
}