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

Method constructor

app/views/editor/ForkModal.js:6–11  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

4
5class ForkModal extends ModalView {
6 constructor (options) {
7 super(options)
8 this.editorPath = options.editorPath // like 'level' or 'thang'
9 this.model = options.model
10 this.modelClass = this.model.constructor
11 }
12
13 forkModel (e) {
14 e.preventDefault()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected