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

Method initClass

app/models/Article.js:13–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11module.exports = (Article = (function () {
12 Article = class Article extends CocoModel {
13 static initClass () {
14 this.className = 'Article'
15 this.schema = require('schemas/models/article')
16 this.prototype.urlRoot = '/db/article'
17 this.prototype.saveBackups = true
18 this.prototype.editableByArtisans = true
19 }
20 }
21 Article.initClass()
22 return Article

Callers 1

Article.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected