Skip to content

Commit c29014f

Browse files
committed
JS: Autoformat
1 parent 2f58683 commit c29014f

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -343,13 +343,13 @@ module Angular2 {
343343
/** Gets an HTML element that instantiates this component. */
344344
HTML::Element getATemplateInstantiation() { result.getName() = getSelector() }
345345

346-
/**
347-
* Gets an argument that flows into the `name` field of this component.
348-
*
349-
* For example, if the selector for this component is `"my-class"`, then this
350-
* predicate can match an attribute like: `<my-class [foo]="1+2"/>`.
351-
* The result of this predicate would be the `1+2` expression, and `name` would be `"foo"`.
352-
*/
346+
/**
347+
* Gets an argument that flows into the `name` field of this component.
348+
*
349+
* For example, if the selector for this component is `"my-class"`, then this
350+
* predicate can match an attribute like: `<my-class [foo]="1+2"/>`.
351+
* The result of this predicate would be the `1+2` expression, and `name` would be `"foo"`.
352+
*/
353353
DataFlow::Node getATemplateArgument(string name) {
354354
result =
355355
getAttributeValueAsNode(getATemplateInstantiation().getAttributeByName("[" + name + "]"))

0 commit comments

Comments
 (0)