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

Method onLoaded

app/models/LevelComponent.js:72–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70 }
71
72 onLoaded () {
73 super.onLoaded()
74 if (!this.get('js')) { return this.set('js', this.compile(this.get('code'))) }
75 }
76
77 compile (code) {
78 let js

Callers

nothing calls this directly

Calls 3

setMethod · 0.95
compileMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected