Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codecombat/codecombat
/ constructor
Method
constructor
app/collections/DocumentFiles.js:18–23 ·
view source on GitHub ↗
(model)
Source
from the content-addressed store, hash-verified
16
}
17
18
constructor (model) {
19
super()
20
let
url = model.constructor.prototype.urlRoot
21
url += `/${model.get(
'original'
) || model.id}/files`
22
this.url = url
23
}
24
}
25
ModelFiles.initClass()
26
return
ModelFiles
Callers
nothing calls this directly
Calls
1
get
Method · 0.45
Tested by
no test coverage detected