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

Method constructor

app/views/admin/DemoRequestsView.js:26–32  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

24 }
25
26 constructor (options) {
27 super(options)
28 if (!me.isAdmin()) { return }
29 this.trialRequests = new CocoCollection([], { url: '/db/trial.request?conditions[sort]="-created"&conditions[limit]=10000', model: TrialRequest })
30 this.supermodel.loadCollection(this.trialRequests, 'trial-requests', { cache: false })
31 this.dayCounts = []
32 }
33
34 onLoaded () {
35 let count, day

Callers

nothing calls this directly

Calls 1

isAdminMethod · 0.80

Tested by

no test coverage detected