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

Method initClass

app/collections/Branches.js:14–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12module.exports = (Branches = (function () {
13 Branches = class Branches extends CocoCollection {
14 static initClass () {
15 this.prototype.url = '/db/branches'
16 this.prototype.model = Branch
17 }
18
19 comparator (branch1, branch2) {
20 const iUpdatedB1 = branch1.get('updatedBy') === me.id

Callers 1

Branches.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected