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

Method initClass

app/collections/Levels.js:19–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17module.exports = (LevelCollection = (function () {
18 LevelCollection = class LevelCollection extends CocoCollection {
19 static initClass () {
20 this.prototype.url = '/db/level'
21 this.prototype.model = Level
22 }
23
24 fetchForClassroom (classroomID, options) {
25 if (options == null) { options = {} }

Callers 1

Levels.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected