Skip to content

Commit a7ca820

Browse files
committed
chore: comments
1 parent d728f28 commit a7ca820

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,7 @@ export default function wrap (Vue, Component) {
5959
}
6060
})
6161

62-
// in Chrome, this.childNodes will be empty when connectedCallback
63-
// is fired, so it's necessary to use a mutationObserver
62+
// Use MutationObserver to react to slot content change
6463
const observer = new MutationObserver(() => {
6564
wrapper.slotChildren = Object.freeze(toVNodes(
6665
wrapper.$createElement,

0 commit comments

Comments
 (0)