Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codecombat/codecombat
/ onUndo
Method
onUndo
app/views/editor/level/LevelEditView.js:584–586 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
582
}
583
584
onUndo () {
585
return
__guard__(TreemaNode.getLastTreemaWithFocus(), x => x.undo())
586
}
587
588
onRedo () {
589
return
__guard__(TreemaNode.getLastTreemaWithFocus(), x => x.redo())
Callers
nothing calls this directly
Calls
2
__guard__
Function · 0.70
undo
Method · 0.45
Tested by
no test coverage detected