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

Method constructor

app/views/editor/course/CourseEditView.js:38–44  ·  view source on GitHub ↗
(options, courseID)

Source from the content-addressed store, hash-verified

36 }
37
38 constructor (options, courseID) {
39 super(options)
40 this.courseID = courseID
41 this.course = new Course({ _id: this.courseID })
42 this.course.saveBackups = true
43 this.supermodel.loadModel(this.course)
44 }
45
46 onLoaded () {
47 super.onLoaded()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected