JS: Make more general-purpose data flow things local

This commit is contained in:
Asger F
2025-10-10 09:46:49 +02:00
parent b1418e1d70
commit c09563f775
5 changed files with 15 additions and 1 deletions

View File

@@ -15,6 +15,7 @@ private import AngularJS
/**
* Holds if `nd` is a reference to the `angular` variable.
*/
overlay[local]
DataFlow::SourceNode angular() {
// either as a global
result = DataFlow::globalVarRef("angular")