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

Method initialize

app/collections/Campaigns.js:24–29  ·  view source on GitHub ↗
(models, options)

Source from the content-addressed store, hash-verified

22 }
23
24 initialize (models, options) {
25 if (options == null) { options = {} }
26 this.options = options
27 this.forceCourseNumbering = this.options.forceCourseNumbering
28 return super.initialize(...arguments)
29 }
30
31 _prepareModel (model, options) {
32 model.forceCourseNumbering = this.forceCourseNumbering

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected