Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit df3c08c

Browse files
committed
fix: Fix typo
1 parent 4cea647 commit df3c08c

File tree

9 files changed

+35
-35
lines changed

9 files changed

+35
-35
lines changed

components/button/Button.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export default {
5656
data () {
5757
return {
5858
mdcRipple: undefined,
59-
slotOberserver: null
59+
slotObserver: null
6060
}
6161
},
6262
computed: {
@@ -71,16 +71,16 @@ export default {
7171
},
7272
mounted () {
7373
this.updateSlot()
74-
this.slotOberserver = new MutationObserver( () => this.updateSlot())
75-
this.slotOberserver.observe(this.$el, {
74+
this.slotObserver = new MutationObserver( () => this.updateSlot())
75+
this.slotObserver.observe(this.$el, {
7676
childList: true,
7777
subtree: true
7878
})
7979
8080
if (this.interactive) { this.mdcRipple = MDCRipple.attachTo(this.$el) }
8181
},
8282
beforeDestroy () {
83-
this.slotOberserver.disconnect()
83+
this.slotObserver.disconnect()
8484
if (typeof this.mdcRipple !== 'undefined') {
8585
this.mdcRipple.destroy()
8686
}

components/card/Card.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export default {
4545
},
4646
data () {
4747
return {
48-
slotOberserver: null
48+
slotObserver: null
4949
}
5050
},
5151
computed: {
@@ -67,14 +67,14 @@ export default {
6767
},
6868
mounted () {
6969
this.updateSlots()
70-
this.slotOberserver = new MutationObserver( () => this.updateSlots())
71-
this.slotOberserver.observe(this.$el, {
70+
this.slotObserver = new MutationObserver( () => this.updateSlots())
71+
this.slotObserver.observe(this.$el, {
7272
childList: true,
7373
subtree: true
7474
})
7575
},
7676
beforeDestroy () {
77-
this.slotOberserver.disconnect()
77+
this.slotObserver.disconnect()
7878
},
7979
methods: {
8080
updateSlots () {

components/dialog/Dialog.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default {
5252
data () {
5353
return {
5454
mdcDialog: null,
55-
slotOberserver: null
55+
slotObserver: null
5656
}
5757
},
5858
computed: {
@@ -77,16 +77,16 @@ export default {
7777
},
7878
mounted () {
7979
this.updateSlots()
80-
this.slotOberserver = new MutationObserver( () => this.updateSlots())
81-
this.slotOberserver.observe(this.$el, {
80+
this.slotObserver = new MutationObserver( () => this.updateSlots())
81+
this.slotObserver.observe(this.$el, {
8282
childList: true,
8383
subtree: true
8484
})
8585
8686
this.mdcDialog = MDCDialog.attachTo(this.$el)
8787
},
8888
beforeDestroy () {
89-
this.slotOberserver.disconnect()
89+
this.slotObserver.disconnect()
9090
this.mdcDialog.destroy()
9191
},
9292
methods: {

components/fab/Fab.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default {
3535
data () {
3636
return {
3737
mdcRipple: undefined,
38-
slotOberserver: null
38+
slotObserver: null
3939
}
4040
},
4141
computed: {
@@ -49,16 +49,16 @@ export default {
4949
},
5050
mounted () {
5151
this.updateSlot()
52-
this.slotOberserver = new MutationObserver( () => this.updateSlot())
53-
this.slotOberserver.observe(this.$el, {
52+
this.slotObserver = new MutationObserver( () => this.updateSlot())
53+
this.slotObserver.observe(this.$el, {
5454
childList: true,
5555
subtree: true
5656
})
5757
5858
if (this.interactive) { this.mdcRipple = MDCRipple.attachTo(this.$el) }
5959
},
6060
beforeDestroy () {
61-
this.slotOberserver.disconnect()
61+
this.slotObserver.disconnect()
6262
if (typeof this.mdcRipple !== 'undefined') {
6363
this.mdcRipple.destroy()
6464
}

components/grid-list/GridListTile.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ export default {
3535
},
3636
data () {
3737
return {
38-
slotOberserver: null
38+
slotObserver: null
3939
}
4040
},
4141
mounted () {
4242
this.updateSlots()
43-
this.slotOberserver = new MutationObserver( () => this.updateSlots())
44-
this.slotOberserver.observe(this.$el, {
43+
this.slotObserver = new MutationObserver( () => this.updateSlots())
44+
this.slotObserver.observe(this.$el, {
4545
childList: true,
4646
subtree: true
4747
})

components/image-list/ImageListItem.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ export default {
2828
},
2929
data() {
3030
return {
31-
slotOberserver: null
31+
slotObserver: null
3232
}
3333
},
3434
mounted () {
3535
this.updateSlot ()
36-
this.slotOberserver = new MutationObserver( () => this.updateSlot())
37-
this.slotOberserver.observe(this.$el, {
36+
this.slotObserver = new MutationObserver( () => this.updateSlot())
37+
this.slotObserver.observe(this.$el, {
3838
childList: true,
3939
subtree: true
4040
})
@@ -49,7 +49,7 @@ export default {
4949
}
5050
},
5151
beforeDestroy () {
52-
this.slotOberserver.disconnect()
52+
this.slotObserver.disconnect()
5353
}
5454
}
5555
</script>

components/list/ListItem.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export default {
4747
data () {
4848
return {
4949
mdcRipple: undefined,
50-
slotOberserver: null
50+
slotObserver: null
5151
}
5252
},
5353
computed: {
@@ -60,16 +60,16 @@ export default {
6060
},
6161
mounted () {
6262
this.updateSlots()
63-
this.slotOberserver = new MutationObserver( () => this.updateSlots())
64-
this.slotOberserver.observe(this.$el, {
63+
this.slotObserver = new MutationObserver( () => this.updateSlots())
64+
this.slotObserver.observe(this.$el, {
6565
childList: true,
6666
subtree: true
6767
})
6868
6969
if (this.interactive) { this.mdcRipple = MDCRipple.attachTo(this.$el) }
7070
},
7171
beforeDestroy () {
72-
this.slotOberserver.disconnect()
72+
this.slotObserver.disconnect()
7373
if (typeof this.mdcRipple !== 'undefined') {
7474
this.mdcRipple.destroy()
7575
}

components/menu/Menu.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export default {
3232
data () {
3333
return {
3434
mdcMenu: null,
35-
slotOberserver: null
35+
slotObserver: null
3636
}
3737
},
3838
computed: {
@@ -55,15 +55,15 @@ export default {
5555
},
5656
mounted () {
5757
this.updateSlot()
58-
this.slotOberserver = new MutationObserver( () => this.updateSlot())
59-
this.slotOberserver.observe(this.$el, {
58+
this.slotObserver = new MutationObserver( () => this.updateSlot())
59+
this.slotObserver.observe(this.$el, {
6060
childList: true,
6161
subtree: true
6262
})
6363
this.mdcMenu = MDCMenu.attachTo(this.$el)
6464
},
6565
beforeDestroy () {
66-
this.slotOberserver.disconnect()
66+
this.slotObserver.disconnect()
6767
this.mdcMenu.destroy()
6868
},
6969
methods: {

components/ripple/Ripple.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,19 @@ export default {
2424
data () {
2525
return {
2626
mdcRipple: undefined,
27-
slotOberserver: null
27+
slotObserver: null
2828
}
2929
},
3030
mounted () {
3131
this.updateSlot()
32-
this.slotOberserver = new MutationObserver( () => this.updateSlot())
33-
this.slotOberserver.observe(this.$el, {
32+
this.slotObserver = new MutationObserver( () => this.updateSlot())
33+
this.slotObserver.observe(this.$el, {
3434
childList: true,
3535
subtree: true
3636
})
3737
},
3838
beforeDestroy () {
39-
this.slotOberserver.disconnect()
39+
this.slotObserver.disconnect()
4040
if (this.mdcRipple !== null) { this.mdcRipple.destroy() }
4141
},
4242
methods: {

0 commit comments

Comments
 (0)