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

Method afterRender

app/views/editor/PatchModal.js:87–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85 }
86
87 afterRender () {
88 if (!this.supermodel.finished() || !this.deltaWorked) { return super.afterRender() }
89 this.deltaView = new DeltaView({ model: this.pendingModel, headModel: this.headModel, skipPaths: deltasLib.DOC_SKIP_PATHS })
90 const changeEl = this.$el.find('.changes-stub')
91 this.insertSubView(this.deltaView, changeEl)
92 return super.afterRender()
93 }
94
95 onAcceptPatch () {
96 return this.acceptPatch(false)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected