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

Method initClass

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

Source from the content-addressed store, hash-verified

175 return describe('updateI18NCoverage', function() {
176 class FlexibleClass extends CocoModel {
177 static initClass() {
178 this.className = 'Flexible';
179 this.schema = {
180 type: 'object',
181 properties: {
182 name: { type: 'string' },
183 description: { type: 'string' },
184 innerObject: {
185 type: 'object',
186 properties: {
187 name: { type: 'string' },
188 i18n: { type: 'object', format: 'i18n', props: ['name']}
189 }
190 },
191 i18n: { type: 'object', format: 'i18n', props: ['description', 'name', 'prop1']}
192 }
193 };
194 }
195 }
196 FlexibleClass.initClass();
197

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected