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

Commit

Permalink
fix: Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
matsp committed Apr 23, 2018
1 parent 4cea647 commit df3c08c
Show file tree
Hide file tree
Showing 9 changed files with 35 additions and 35 deletions.
8 changes: 4 additions & 4 deletions components/button/Button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export default {
data () {
return {
mdcRipple: undefined,
slotOberserver: null
slotObserver: null
}
},
computed: {
Expand All @@ -71,16 +71,16 @@ export default {
},
mounted () {
this.updateSlot()
this.slotOberserver = new MutationObserver( () => this.updateSlot())
this.slotOberserver.observe(this.$el, {
this.slotObserver = new MutationObserver( () => this.updateSlot())
this.slotObserver.observe(this.$el, {
childList: true,
subtree: true
})
if (this.interactive) { this.mdcRipple = MDCRipple.attachTo(this.$el) }
},
beforeDestroy () {
this.slotOberserver.disconnect()
this.slotObserver.disconnect()
if (typeof this.mdcRipple !== 'undefined') {
this.mdcRipple.destroy()
}
Expand Down
8 changes: 4 additions & 4 deletions components/card/Card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default {
},
data () {
return {
slotOberserver: null
slotObserver: null
}
},
computed: {
Expand All @@ -67,14 +67,14 @@ export default {
},
mounted () {
this.updateSlots()
this.slotOberserver = new MutationObserver( () => this.updateSlots())
this.slotOberserver.observe(this.$el, {
this.slotObserver = new MutationObserver( () => this.updateSlots())
this.slotObserver.observe(this.$el, {
childList: true,
subtree: true
})
},
beforeDestroy () {
this.slotOberserver.disconnect()
this.slotObserver.disconnect()
},
methods: {
updateSlots () {
Expand Down
8 changes: 4 additions & 4 deletions components/dialog/Dialog.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default {
data () {
return {
mdcDialog: null,
slotOberserver: null
slotObserver: null
}
},
computed: {
Expand All @@ -77,16 +77,16 @@ export default {
},
mounted () {
this.updateSlots()
this.slotOberserver = new MutationObserver( () => this.updateSlots())
this.slotOberserver.observe(this.$el, {
this.slotObserver = new MutationObserver( () => this.updateSlots())
this.slotObserver.observe(this.$el, {
childList: true,
subtree: true
})
this.mdcDialog = MDCDialog.attachTo(this.$el)
},
beforeDestroy () {
this.slotOberserver.disconnect()
this.slotObserver.disconnect()
this.mdcDialog.destroy()
},
methods: {
Expand Down
8 changes: 4 additions & 4 deletions components/fab/Fab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default {
data () {
return {
mdcRipple: undefined,
slotOberserver: null
slotObserver: null
}
},
computed: {
Expand All @@ -49,16 +49,16 @@ export default {
},
mounted () {
this.updateSlot()
this.slotOberserver = new MutationObserver( () => this.updateSlot())
this.slotOberserver.observe(this.$el, {
this.slotObserver = new MutationObserver( () => this.updateSlot())
this.slotObserver.observe(this.$el, {
childList: true,
subtree: true
})
if (this.interactive) { this.mdcRipple = MDCRipple.attachTo(this.$el) }
},
beforeDestroy () {
this.slotOberserver.disconnect()
this.slotObserver.disconnect()
if (typeof this.mdcRipple !== 'undefined') {
this.mdcRipple.destroy()
}
Expand Down
6 changes: 3 additions & 3 deletions components/grid-list/GridListTile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ export default {
},
data () {
return {
slotOberserver: null
slotObserver: null
}
},
mounted () {
this.updateSlots()
this.slotOberserver = new MutationObserver( () => this.updateSlots())
this.slotOberserver.observe(this.$el, {
this.slotObserver = new MutationObserver( () => this.updateSlots())
this.slotObserver.observe(this.$el, {
childList: true,
subtree: true
})
Expand Down
8 changes: 4 additions & 4 deletions components/image-list/ImageListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ export default {
},
data() {
return {
slotOberserver: null
slotObserver: null
}
},
mounted () {
this.updateSlot ()
this.slotOberserver = new MutationObserver( () => this.updateSlot())
this.slotOberserver.observe(this.$el, {
this.slotObserver = new MutationObserver( () => this.updateSlot())
this.slotObserver.observe(this.$el, {
childList: true,
subtree: true
})
Expand All @@ -49,7 +49,7 @@ export default {
}
},
beforeDestroy () {
this.slotOberserver.disconnect()
this.slotObserver.disconnect()
}
}
</script>
8 changes: 4 additions & 4 deletions components/list/ListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default {
data () {
return {
mdcRipple: undefined,
slotOberserver: null
slotObserver: null
}
},
computed: {
Expand All @@ -60,16 +60,16 @@ export default {
},
mounted () {
this.updateSlots()
this.slotOberserver = new MutationObserver( () => this.updateSlots())
this.slotOberserver.observe(this.$el, {
this.slotObserver = new MutationObserver( () => this.updateSlots())
this.slotObserver.observe(this.$el, {
childList: true,
subtree: true
})
if (this.interactive) { this.mdcRipple = MDCRipple.attachTo(this.$el) }
},
beforeDestroy () {
this.slotOberserver.disconnect()
this.slotObserver.disconnect()
if (typeof this.mdcRipple !== 'undefined') {
this.mdcRipple.destroy()
}
Expand Down
8 changes: 4 additions & 4 deletions components/menu/Menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default {
data () {
return {
mdcMenu: null,
slotOberserver: null
slotObserver: null
}
},
computed: {
Expand All @@ -55,15 +55,15 @@ export default {
},
mounted () {
this.updateSlot()
this.slotOberserver = new MutationObserver( () => this.updateSlot())
this.slotOberserver.observe(this.$el, {
this.slotObserver = new MutationObserver( () => this.updateSlot())
this.slotObserver.observe(this.$el, {
childList: true,
subtree: true
})
this.mdcMenu = MDCMenu.attachTo(this.$el)
},
beforeDestroy () {
this.slotOberserver.disconnect()
this.slotObserver.disconnect()
this.mdcMenu.destroy()
},
methods: {
Expand Down
8 changes: 4 additions & 4 deletions components/ripple/Ripple.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,19 @@ export default {
data () {
return {
mdcRipple: undefined,
slotOberserver: null
slotObserver: null
}
},
mounted () {
this.updateSlot()
this.slotOberserver = new MutationObserver( () => this.updateSlot())
this.slotOberserver.observe(this.$el, {
this.slotObserver = new MutationObserver( () => this.updateSlot())
this.slotObserver.observe(this.$el, {
childList: true,
subtree: true
})
},
beforeDestroy () {
this.slotOberserver.disconnect()
this.slotObserver.disconnect()
if (this.mdcRipple !== null) { this.mdcRipple.destroy() }
},
methods: {
Expand Down

0 comments on commit df3c08c

Please sign in to comment.