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

Method undo

app/views/editor/level/thangs/ThangsTabView.js:220–223  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

218 }
219
220 undo (e) {
221 if (document.activeElement?.id === 'thangs-treema') { return }
222 if (!this.editThangView) { this.thangsTreema.undo() } else { this.editThangView.undo() }
223 }
224
225 redo (e) {
226 if (document.activeElement?.id === 'thangs-treema') { return }

Callers 1

onUndoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected