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

Method newModel

app/views/common/SearchView.js:149–153  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

147 }
148
149 newModel (e) {
150 const modal = new NewModelModal({ model: this.model, modelLabel: this.modelLabel, properties: this.modelProperties, hasNoNameProperty: this.hasNoNameProperty })
151 modal.once('model-created', this.onNewModelSaved)
152 return this.openModalView(modal)
153 }
154
155 openCreateAccountModal (e) {
156 e.stopPropagation()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected