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

Method loadPoll

app/views/editor/poll/PollEditView.js:46–50  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

44 }
45
46 loadPoll () {
47 this.poll = new Poll({ _id: this.pollID })
48 this.poll.saveBackups = true
49 return this.supermodel.loadModel(this.poll)
50 }
51
52 loadUserPollsRecord () {
53 const url = `/db/user.polls.record/-/user/${me.id}`

Callers 1

constructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected