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

Method initClass

app/models/Poll.js:17–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15module.exports = (Poll = (function () {
16 Poll = class Poll extends CocoModel {
17 static initClass () {
18 this.className = 'Poll'
19 this.schema = schema
20 this.prototype.urlRoot = '/db/poll'
21 }
22
23 applyDelta (delta) {
24 // Hackiest hacks ever, just manually mauling the delta (whose format I don't understand) to not overwrite votes and other languages' nested translations.

Callers 1

Poll.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected