# HG changeset patch # User Lucas Thompson # Date 1498833316 -3600 # Node ID 2fb2357420f9f2887f7e077bed013b86472a6c5b # Parent b963af7e6eafc50d8ef6ba328ced274952686616 Hide update history method. diff -r b963af7e6eaf -r 2fb2357420f9 src/app/Session.ts --- a/src/app/Session.ts Fri Jun 30 15:27:56 2017 +0100 +++ b/src/app/Session.ts Fri Jun 30 15:35:16 2017 +0100 @@ -162,7 +162,11 @@ } } - updateHistory(): void { + toIterable(): Iterable { + return this.stack; + } + + private updateHistory(): void { if (this.historyOffset !== 0) { this.history = this.history.slice( 0, @@ -172,8 +176,4 @@ } this.history.push([...this.stack]); } - - toIterable(): Iterable { - return this.stack; - } }