mirror of
https://github.com/github/codeql.git
synced 2026-05-03 04:39:29 +02:00
clarifying comment on the last jQuery inconsistency
This commit is contained in:
@@ -154,7 +154,7 @@
|
||||
let target = options.target;
|
||||
target === DEFAULTS.target? $(target): $(document).find(target); // OK
|
||||
options.target === DEFAULTS.target? $(options.target): $(document).find(options.target); // OK
|
||||
options.targets.a === DEFAULTS.target? $(options.target.a): $(document).find(options.target.a); // OK - but still flagged [INCONSISTENCY]
|
||||
options.targets.a === DEFAULTS.target? $(options.target.a): $(document).find(options.target.a); // OK - should be sanitized by `MembershipTestSanitizer` - but still flagged because `AccessPath` can't handle these deeply nested properties [INCONSISTENCY]
|
||||
}
|
||||
|
||||
$.fn.my_plugin = function my_plugin(options) {
|
||||
|
||||
Reference in New Issue
Block a user