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

Method onLoaded

app/views/common/UserView.js:48–52  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46 }
47
48 onLoaded () {
49 if (!(this.user != null ? this.user.isAnonymous() : undefined)) { this.userData = this.user }
50 this.userID = this.user.id
51 return super.onLoaded()
52 }
53
54 ifUserNotFound () {
55 console.warn('user not found')

Callers 1

fetchUserMethod · 0.95

Calls 1

isAnonymousMethod · 0.80

Tested by

no test coverage detected