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 {
168168 * extended objects and mixins.
169169 */
170170 pragma [ nomagic]
171- DataFlow:: SourceNode getOptionSource ( string name ) {
172- result = getOption ( name ) .getALocalSource ( )
173- }
171+ DataFlow:: SourceNode getOptionSource ( string name ) { result = getOption ( name ) .getALocalSource ( ) }
174172
175173 /**
176174 * Gets the template element used by this instance, if any.
@@ -234,9 +232,7 @@ module Vue {
234232 * Gets the function responding to changes to the given `propName`.
235233 */
236234 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 ) |
240236 result = watcher
241237 or
242238 result = watcher .getAPropertySource ( "handler" )
You can’t perform that action at this time.
0 commit comments