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

Method constructor

app/views/editor/chat/ChatEditView.js:43–50  ·  view source on GitHub ↗
(options, chatID)

Source from the content-addressed store, hash-verified

41 }
42
43 constructor (options, chatID) {
44 super(options)
45 this.deleteChatMessage = this.deleteChatMessage.bind(this)
46 this.chatID = chatID
47 this.chat = new ChatMessage({ _id: this.chatID })
48 this.chat.saveBackups = true
49 this.supermodel.loadModel(this.chat)
50 }
51
52 onLoaded () {
53 super.onLoaded()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected