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

Method f

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

Source from the content-addressed store, hash-verified

92 this.supermodel.shouldSaveBackups = model => // Make sure to load possibly changed things from localStorage.
93 ['Level', 'LevelComponent', 'LevelSystem', 'ThangType'].includes(model.constructor.className)
94 const f = () => { if (!this.levelLoader) { return (typeof this.loadRandomSessions === 'function' ? this.loadRandomSessions() : undefined) } } // Wait to see if it's just given to us through setLevel.
95 setTimeout(f, 100)
96 } else {
97 this.loadRandomSessions()

Callers

nothing calls this directly

Calls 1

loadRandomSessionsMethod · 0.95

Tested by

no test coverage detected