JS: Autoformat

This commit is contained in:
Asger Feldthaus
2021-02-25 10:20:13 +00:00
parent bb858d38c4
commit 55a1ab5714

View File

@@ -168,9 +168,7 @@ module Vue {
* extended objects and mixins.
*/
pragma[nomagic]
DataFlow::SourceNode getOptionSource(string name) {
result = getOption(name).getALocalSource()
}
DataFlow::SourceNode getOptionSource(string name) { result = getOption(name).getALocalSource() }
/**
* Gets the template element used by this instance, if any.
@@ -234,9 +232,7 @@ module Vue {
* Gets the function responding to changes to the given `propName`.
*/
DataFlow::FunctionNode getWatchHandler(string propName) {
exists(DataFlow::SourceNode watcher |
watcher = getWatch().getAPropertySource(propName)
|
exists(DataFlow::SourceNode watcher | watcher = getWatch().getAPropertySource(propName) |
result = watcher
or
result = watcher.getAPropertySource("handler")