Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
set
Method · 0.95
compile
Method · 0.95
get
Method · 0.45
Tested by
no test coverage detected