MCPcopy Index your code
hub / github.com/codecombat/codecombat / initClass

Method initClass

test/app/models/CocoModel.spec.js:11–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9
10class BlandClass extends CocoModel {
11 static initClass() {
12 this.className = 'Bland';
13 this.schema = {
14 type: 'object',
15 additionalProperties: false,
16 properties: {
17 number: {type: 'number'},
18 object: {type: 'object'},
19 string: {type: 'string'},
20 _id: {type: 'string'}
21 }
22 };
23 this.prototype.urlRoot = '/db/bland';
24 }
25}
26BlandClass.initClass();
27

Callers 1

CocoModel.spec.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected