mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
[mv3] Sort scriptlet functions
To minimize diff between releases.
This commit is contained in:
parent
e7c67d533b
commit
e036156f3a
1 changed files with 1 additions and 1 deletions
|
|
@ -197,7 +197,7 @@ export async function commit(rulesetId, path, writeFn) {
|
|||
);
|
||||
content = safeReplace(content,
|
||||
'self.$scriptletCode$',
|
||||
Array.from(allFunctions.values()).join('\n\n')
|
||||
Array.from(allFunctions.values()).sort().join('\n\n')
|
||||
);
|
||||
writeFn(`${path}/${world.toLowerCase()}/${rulesetId}.js`, content);
|
||||
stats[world] = Array.from(worldDetails.matches).sort();
|
||||
|
|
|
|||
Loading…
Reference in a new issue