Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codecombat/codecombat
/ initClass
Method
initClass
app/models/File.js:13–17 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
11
module.exports = (File = (
function
() {
12
File =
class
File extends CocoModel {
13
static initClass () {
14
this.className =
'File'
15
this.schema = {}
16
this.prototype.urlRoot =
'/db/file'
17
}
18
}
19
File.initClass()
20
return
File
Callers
1
File.js
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected