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 {
544544 }
545545
546546 /** 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+ }
548550
549551 /** Gets a source of jQuery objects. */
550552 private DataFlow:: SourceNode objectSource ( DataFlow:: TypeTracker t ) {
551553 t .start ( ) and
552554 result instanceof ObjectSource:: Range
553555 or
554- exists ( DataFlow:: TypeTracker init |
555- init .start ( ) and
556- t = init .smallstep ( legacyObjectSource ( ) , result )
557- )
556+ t .start ( ) and
557+ result = legacyObjectSource ( )
558558 }
559559
560560 /** Gets a data flow node referring to a jQuery object. */
You can’t perform that action at this time.
0 commit comments