MCPcopy Index your code
hub / github.com/Tampermonkey/tampermonkey / sortScripts

Function sortScripts

src/background.js:3675–3679  ·  view source on GitHub ↗
(results)

Source from the content-addressed store, hash-verified

3673};
3674
3675var sortScripts = function(results) {
3676 var numComparisonAsc = function(a, b) { return a.position-b.position; };
3677 results.sort(numComparisonAsc);
3678 return results;
3679}
3680
3681var determineScriptsToRun = function(href) {
3682 var names = getAllScriptNames();

Callers 2

reorderScriptsFunction · 0.70
determineScriptsToRunFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…