Skip to content

Commit ea569db

Browse files
erik-kroghesbena
andauthored
update doc for JQuery plugin predicate
Co-Authored-By: Esben Sparre Andreasen <[email protected]>
1 parent 1954a60 commit ea569db

File tree

1 file changed

+1
-1
lines changed
  • javascript/ql/src/semmle/javascript/frameworks

1 file changed

+1
-1
lines changed

javascript/ql/src/semmle/javascript/frameworks/jQuery.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ module JQuery {
613613
}
614614

615615
/**
616-
* Holds for jQuery plugin definitions of the form `$.fn.<pluginName> = <plugin>`.
616+
* Holds for jQuery plugin definitions of the form `$.fn.<pluginName> = <plugin>` or $.extend($.fn, {<pluginName>, <plugin>})`.
617617
*/
618618
predicate jQueryPluginDefinition(string pluginName, DataFlow::Node plugin) {
619619
exists(DataFlow::PropRead fn, DataFlow::PropWrite write |

0 commit comments

Comments
 (0)