www.spaceplanner.app

Web client to the spaceplanner API
git clone git://jacobedwards.org/www.spaceplanner.app
Log | Files | Refs

commit 1be51db60c1e34dde8a1c45c24564372f14c4bcf
parent fc1cfa084ca07577058c7fc4a6cdd75c5f69a623
Author: Jacob R. Edwards <jacob@jacobedwards.org>
Date:   Thu, 22 Aug 2024 12:13:36 -0700

Remove whitespace

Diffstat:
Mfiles/floorplans/floorplan/backend.js | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/files/floorplans/floorplan/backend.js b/files/floorplans/floorplan/backend.js @@ -5,10 +5,10 @@ class BackendHistory { // The current position in history (diffs) // -1 for before everything this.place = -1, - + // Metadata for diff groups this.groups = [], - + // Actual changes this.diffs = [], @@ -79,7 +79,7 @@ class BackendHistory { } if (this.group.last && this.group.last != this.diffs.at(-1).id) { - throw new Error("I don't think this should happen") + throw new Error("I don't think this should happen") } this.group.last = this.diffs.at(-1).id return pushGroup(this) @@ -184,7 +184,7 @@ class BackendHistory { if (from > to) { return { reverse: true, from: to, to: from } } - return { from: from, to: to } + return { from: from, to: to } } /*