@@ -264,7 +264,8 @@ private class JQueryAjaxCall extends ClientRequest::Range {
264264 JQueryAjaxCall ( ) { this = jquery ( ) .getAMemberCall ( "ajax" ) }
265265
266266 override DataFlow:: Node getUrl ( ) {
267- result = getArgument ( 0 ) and not exists ( getOptionArgument ( 0 , _) ) or
267+ result = getArgument ( 0 ) and not exists ( getOptionArgument ( 0 , _) )
268+ or
268269 result = getOptionArgument ( [ 0 .. 1 ] , "url" )
269270 }
270271
@@ -295,8 +296,8 @@ private class JQueryAjaxCall extends ClientRequest::Range {
295296 * A model of a URL request made using a `jQuery.ajax` shorthand.
296297 * E.g. `jQuery.getJSON`, `jQuery.post` etc.
297298 * See: https://api.jquery.com/category/ajax/shorthand-methods/.
298- *
299- * The method signatures:
299+ *
300+ * The method signatures:
300301 * jQuery.get( url [, data ] [, success ] [, dataType ] )
301302 * jQuery.getJSON( url [, data ] [, success ] )
302303 * jQuery.getScript( url [, success ] )
@@ -347,9 +348,7 @@ private class JQueryAjaxShortHand extends ClientRequest::Range {
347348 ) and
348349 promise = false and
349350 // one of the two last arguments
350- result =
351- getCallback ( [ getNumArgument ( ) - 2 .. getNumArgument ( ) - 1 ] )
352- .getParameter ( 0 )
351+ result = getCallback ( [ getNumArgument ( ) - 2 .. getNumArgument ( ) - 1 ] ) .getParameter ( 0 )
353352 }
354353}
355354
0 commit comments