MCPcopy Create free account
hub / github.com/SplootCode/splootcode / constructor

Method constructor

packages/editor/src/context/undoWatcher.ts:25–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23 timeoutID: number
24
25 constructor() {
26 this.rootNode = null
27 this.currentSnapshotID = null
28 this.currentSnapshot = null
29 this.undoSnapshots = []
30 this.redoSnapshots = []
31 this.enabled = true
32 this.timeoutID = null
33 }
34
35 undo() {
36 // No undo snapshots to use.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected