File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
javascript/ql/src/semmle/javascript/frameworks Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -168,9 +168,7 @@ module Vue {
168
168
* extended objects and mixins.
169
169
*/
170
170
pragma [ nomagic]
171
- DataFlow:: SourceNode getOptionSource ( string name ) {
172
- result = getOption ( name ) .getALocalSource ( )
173
- }
171
+ DataFlow:: SourceNode getOptionSource ( string name ) { result = getOption ( name ) .getALocalSource ( ) }
174
172
175
173
/**
176
174
* Gets the template element used by this instance, if any.
@@ -234,9 +232,7 @@ module Vue {
234
232
* Gets the function responding to changes to the given `propName`.
235
233
*/
236
234
DataFlow:: FunctionNode getWatchHandler ( string propName ) {
237
- exists ( DataFlow:: SourceNode watcher |
238
- watcher = getWatch ( ) .getAPropertySource ( propName )
239
- |
235
+ exists ( DataFlow:: SourceNode watcher | watcher = getWatch ( ) .getAPropertySource ( propName ) |
240
236
result = watcher
241
237
or
242
238
result = watcher .getAPropertySource ( "handler" )
You can’t perform that action at this time.
0 commit comments