Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codecombat/codecombat
/ constructor
Method
constructor
app/views/common/UserView.js:27–32 ·
view source on GitHub ↗
(userID, options)
Source
from the content-addressed store, hash-verified
25
}
26
27
constructor (userID, options) {
28
super(options)
29
this.userID = userID
30
this.listenTo(this,
'userNotFound'
, this.ifUserNotFound)
31
this.fetchUser(this.userID)
32
}
33
34
fetchUser () {
35
if
(this.isMe()) {
Callers
nothing calls this directly
Calls
1
fetchUser
Method · 0.95
Tested by
no test coverage detected