MCPcopy Create free account
hub / github.com/codecombat/codecombat / destroy

Method destroy

app/views/ladder/components/Leaderboard.js:147–153  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

145 }
146
147 destroy () {
148 if (this.vuexModule) {
149 store.unregisterModule('page')
150 }
151 this.vueComponent.$destroy()
152 this.vueComponent.$store = silentStore
153 }
154 // ignore all further changes to the store, since the module has been unregistered.
155 // may later want to just ignore mutations and actions to the page module.
156

Callers 1

refreshLadderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected