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

Method afterRender

app/views/play/SpectateView.js:146–154  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

144 }
145
146 afterRender () {
147 if (typeof window.onPlayLevelViewLoaded === 'function') {
148 window.onPlayLevelViewLoaded(this)
149 } // still a hack
150 this.insertSubView(this.loadingView = new LoadingView({ autoUnveil: true, level: (this.levelLoader != null ? this.levelLoader.level : undefined) != null ? (this.levelLoader != null ? this.levelLoader.level : undefined) : this.level }))
151 this.$el.find('#level-done-button').hide()
152 super.afterRender()
153 return $('body').addClass('is-playing')
154 }
155
156 onLoaded () {
157 return _.defer(() => this.onLevelLoaderLoaded())

Callers

nothing calls this directly

Calls 1

hideMethod · 0.45

Tested by

no test coverage detected