MCPcopy Index your code
hub / github.com/codecombat/codecombat / onLoaded

Method onLoaded

app/models/LevelSystem.js:36–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34 }
35
36 onLoaded () {
37 super.onLoaded()
38 if (!this.get('js')) { this.set('js', this.compile(this.get('code'))) }
39 return SystemNameLoader.setName(this)
40 }
41
42 compile (code) {
43 let js

Callers

nothing calls this directly

Calls 4

setMethod · 0.95
compileMethod · 0.95
setNameMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected