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

Method initClass

app/collections/Products.js:20–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18module.exports = (Products = (function () {
19 Products = class Products extends CocoCollection {
20 static initClass () {
21 this.prototype.model = Product
22 this.prototype.url = '/db/products'
23 }
24
25 initialize (models, options) {
26 if (options == null) { options = {} }

Callers 1

Products.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected