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

Method initClass

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

Source from the content-addressed store, hash-verified

17module.exports = (Campaigns = (function () {
18 Campaigns = class Campaigns extends CocoCollection {
19 static initClass () {
20 this.prototype.model = Campaign
21 this.prototype.url = '/db/campaign'
22 }
23
24 initialize (models, options) {
25 if (options == null) { options = {} }

Callers 1

Campaigns.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected