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

Method initClass

app/collections/ThangTypes.js:15–18  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13module.exports = (ThangTypeCollection = (function () {
14 ThangTypeCollection = class ThangTypeCollection extends CocoCollection {
15 static initClass () {
16 this.prototype.url = '/db/thang.type'
17 this.prototype.model = ThangType
18 }
19
20 fetchHeroes () {
21 return this.fetch({

Callers 1

ThangTypes.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected