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

Method checkPresence

app/views/editor/level/LevelEditView.js:716–721  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

714 }
715
716 checkPresence () {
717 if (!this.level.get('original')) { return }
718 return presenceApi.getPresence({ levelOriginalId: this.level.get('original') })
719 .then(this.updatePresenceUI)
720 .catch(this.updatePresenceUI)
721 }
722
723 updatePresenceUI (emails) {
724 $('#dropdownPresenceMenu').empty()

Callers 1

onLoadedMethod · 0.95

Calls 1

getMethod · 0.45

Tested by

no test coverage detected