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

Method onHidden

app/views/play/menu/GameMenuModal.js:140–149  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

138 }
139
140 onHidden () {
141 super.onHidden()
142 for (const subviewKey in this.subviews) {
143 const subview = this.subviews[subviewKey]; if (typeof subview.onHidden === 'function') {
144 subview.onHidden()
145 }
146 }
147 this.playSound('game-menu-close')
148 return Backbone.Mediator.publish('music-player:exit-menu', {})
149 }
150
151 onClickHintsButton () {
152 if (!this.options.hintsState) { return }

Callers 1

onTabShownMethod · 0.45

Calls 1

publishMethod · 0.80

Tested by

no test coverage detected