()
| 12 | module.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 |