fix most issues found by ql/class-doc-style in JS

This commit is contained in:
Erik Krogh Kristensen
2022-01-20 15:10:16 +01:00
parent c09b6691e1
commit 5780161b2c
18 changed files with 52 additions and 52 deletions

View File

@@ -100,7 +100,7 @@ module UnsafeJQueryPlugin {
}
/**
* Expression of form `isElement(x)`, which sanitizes `x`.
* An expression of form `isElement(x)`, which sanitizes `x`.
*/
class IsElementSanitizer extends TaintTracking::SanitizerGuardNode, DataFlow::CallNode {
IsElementSanitizer() {
@@ -116,7 +116,7 @@ module UnsafeJQueryPlugin {
}
/**
* Expression like `typeof x.<?> !== "undefined"` or `x.<?>`, which sanitizes `x`, as it is unlikely to be a string afterwards.
* An expression like `typeof x.<?> !== "undefined"` or `x.<?>`, which sanitizes `x`, as it is unlikely to be a string afterwards.
*/
class PropertyPresenceSanitizer extends TaintTracking::SanitizerGuardNode, DataFlow::ValueNode {
DataFlow::Node input;