Commit
Also updates the tree view to indicate computed properties with `*`.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,6 +113,16 @@ export default { | |
key: prop, | ||
}; | ||
} | ||
yield { | ||
value: getComments(node), | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
fkling
Author
Owner
|
||
key: 'leadingComments', | ||
computed: true, | ||
}; | ||
yield { | ||
value: getComments(node, true), | ||
key: 'trailingCommments', | ||
computed: true, | ||
}; | ||
}, | ||
|
||
nodeToRange(node) { | ||
|
I was confused by this when modifying -
getComments
doesn't seem to return collected comments, it just patches the nodes, how does this work then?