MCPcopy Index your code
hub / github.com/devforth/painterro / changed

Method changed

js/worklog.js:44–57  ·  view source on GitHub ↗
(initial)

Source from the content-addressed store, hash-verified

42 }
43
44 changed(initial) {
45 if (this.current.prevCount - this.clearedCount > this.main.params.worklogLimit) {
46 this.first = this.first.next;
47 this.first.prev = null;
48 this.clearedCount += 1;
49 }
50 this.changedHandler({
51 first: this.current.prev === null,
52 last: this.current.next === null,
53 initial,
54 });
55 this.empty = initial;
56 this.clean = false;
57 }
58
59 captureState(initial) {
60 let activeToolName = this.main.activeTool ? this.main.activeTool.name : null;

Callers 3

captureStateMethod · 0.95
undoStateMethod · 0.95
redoStateMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected