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

Method constructor

app/core/treema-ext.js:99–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97 }
98
99 constructor () {
100 super(...arguments)
101 this.onFileChosen = this.onFileChosen.bind(this)
102 this.onFileUploaded = this.onFileUploaded.bind(this)
103 this.togglePreview = this.togglePreview.bind(this)
104 this.workingSchema.aceMode = 'ace/mode/markdown'
105 this.workingSchema.aceUseWrapMode = true
106 initializeFilePicker()
107 }
108
109 initEditor (valEl) {
110 const buttonRow = $('<div class="buttons"></div>')

Callers

nothing calls this directly

Calls 1

initializeFilePickerFunction · 0.70

Tested by

no test coverage detected