From 1e387bdc78cd29c9cf796295b19e1819028fa5c8 Mon Sep 17 00:00:00 2001
From: Arkerthan <arkerthan@gmail.com>
Date: Tue, 22 Dec 2020 00:53:15 +0100
Subject: [PATCH] dom passages consistent formatting

---
 src/005-passages/eventsPassages.js     |  3 ++-
 src/005-passages/facilitiesPassages.js | 12 +++++++-----
 src/005-passages/optionsPassages.js    |  6 ++----
 3 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/src/005-passages/eventsPassages.js b/src/005-passages/eventsPassages.js
index 6a14f5e69a4..c9c0031adfe 100644
--- a/src/005-passages/eventsPassages.js
+++ b/src/005-passages/eventsPassages.js
@@ -32,7 +32,8 @@ new App.DomPassage("SE pc birthday", () => App.Events.pcBirthday.runEvent());
 
 /* ### Non Random Events ### */
 
-new App.DomPassage("Murder Attempt", () => {
+new App.DomPassage("Murder Attempt",
+	() => {
 		if (V.event === "slave trade") {
 			return App.Events.murderAttemptFollowup("slave", V.illegalDeals.slave.company, V.illegalDeals.slave.type);
 		} else if (V.event === "trade deal") {
diff --git a/src/005-passages/facilitiesPassages.js b/src/005-passages/facilitiesPassages.js
index 94cb18821ae..9d537fa220a 100644
--- a/src/005-passages/facilitiesPassages.js
+++ b/src/005-passages/facilitiesPassages.js
@@ -61,8 +61,10 @@ new App.DomPassage("Agent Select",
 	}, ["jump-from-safe"]
 );
 
-new App.DomPassage("Rules Assistant", () => {
-	const div = document.createElement("div");
-	App.RA.options(div);
-	return div;
-}, ["jump-to-safe", "jump-from-safe"]);
+new App.DomPassage("Rules Assistant",
+	() => {
+		const div = document.createElement("div");
+		App.RA.options(div);
+		return div;
+	}, ["jump-to-safe", "jump-from-safe"]
+);
diff --git a/src/005-passages/optionsPassages.js b/src/005-passages/optionsPassages.js
index ec6cf6a86d0..00ce48b8634 100644
--- a/src/005-passages/optionsPassages.js
+++ b/src/005-passages/optionsPassages.js
@@ -27,8 +27,7 @@ new App.DomPassage("Description Options",
 		V.nextLink = V.storedLink;
 
 		return App.UI.descriptionOptions();
-	},
-	["jump-to-safe", "jump-from-safe"]
+	}, ["jump-to-safe", "jump-from-safe"]
 );
 
 new App.DomPassage("Summary Options",
@@ -45,8 +44,7 @@ new App.DomPassage("Summary Options",
 		V.passageSwitchHandler = App.EventHandlers.optionsChanged;
 
 		return App.UI.summaryOptions();
-	},
-	["jump-to-safe", "jump-from-safe"]
+	}, ["jump-to-safe", "jump-from-safe"]
 );
 
 new App.DomPassage("Hotkey Settings",
-- 
GitLab