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

Method initialize

app/models/LevelSession.js:30–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28 }
29
30 initialize () {
31 super.initialize()
32 return this.on('sync', e => {
33 const state = this.get('state') || {}
34 if (state.scripts == null) { state.scripts = {} }
35 return this.set('state', state)
36 })
37 }
38
39 updatePermissions () {
40 let permissions = this.get('permissions', true)

Callers

nothing calls this directly

Calls 2

getMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected