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

Method initClass

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

Source from the content-addressed store, hash-verified

13module.exports = (AchievementCollection = (function () {
14 AchievementCollection = class AchievementCollection extends CocoCollection {
15 static initClass () {
16 this.prototype.url = '/db/achievement'
17 this.prototype.model = Achievement
18 }
19
20 fetchRelatedToLevel (levelOriginal, options) {
21 options = _.extend({ data: {} }, options)

Callers 1

Achievements.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected