File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
javascript/ql/src/semmle/javascript/frameworks Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -544,17 +544,17 @@ module JQuery {
544
544
}
545
545
546
546
/** A source of jQuery objects from the AST-based `JQueryObject` class. */
547
- private DataFlow:: Node legacyObjectSource ( ) { result = any ( JQueryObjectInternal e ) .flow ( ) }
547
+ private DataFlow:: SourceNode legacyObjectSource ( ) {
548
+ result = any ( JQueryObjectInternal e ) .flow ( ) .getALocalSource ( )
549
+ }
548
550
549
551
/** Gets a source of jQuery objects. */
550
552
private DataFlow:: SourceNode objectSource ( DataFlow:: TypeTracker t ) {
551
553
t .start ( ) and
552
554
result instanceof ObjectSource:: Range
553
555
or
554
- exists ( DataFlow:: TypeTracker init |
555
- init .start ( ) and
556
- t = init .smallstep ( legacyObjectSource ( ) , result )
557
- )
556
+ t .start ( ) and
557
+ result = legacyObjectSource ( )
558
558
}
559
559
560
560
/** Gets a data flow node referring to a jQuery object. */
You can’t perform that action at this time.
0 commit comments