Make pslInit() returns the publicSuffixList instance used internally

Related discussion:
- https://github.com/uBlockOrigin/uBlock-issues/issues/1664#issuecomment-889647595
This commit is contained in:
Raymond Hill 2021-07-30 07:00:45 -04:00
parent a58a093d90
commit 5be4d5d877
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 1 additions and 0 deletions

View File

@ -123,6 +123,7 @@ function pslInit(raw) {
}
}
globals.publicSuffixList.parse(raw, globals.punycode.toASCII);
return globals.publicSuffixList;
}
function restart(lists, options = {}) {