diff --git a/src/actionlist.ts b/src/actionlist.ts new file mode 100644 index 0000000..4ad50e6 --- /dev/null +++ b/src/actionlist.ts @@ -0,0 +1,12 @@ +/* class ActionList extends LinkedList { + + + private _current: ActionNode; + + + public push (node: LinkedNode): void { + // super(node); + } + + +} */ diff --git a/src/actionnode.ts b/src/actionnode.ts new file mode 100644 index 0000000..544f75b --- /dev/null +++ b/src/actionnode.ts @@ -0,0 +1,15 @@ +/* class ActionNode extends LinkedNode { + + + public undo: () => void; + public redo: () => void; + + + constructor (undo: () => void, redo: () => void) { + super(); + this.undo = undo; + this.redo = redo; + } + + +} */ diff --git a/tslint.json b/tslint.json index 1379856..246e7cc 100644 --- a/tslint.json +++ b/tslint.json @@ -12,6 +12,7 @@ "max-line-length": false, "prefer-for-of": false, "typedef": true, + "no-console": false, "variable-name": [true, "ban-keywords", "check-format", "allow-leading-underscore"] }, "rulesDirectory": []