From f1d5c0c73ad92be989911a7f46e26b073ac12c4d Mon Sep 17 00:00:00 2001 From: Arkerthan <arkerthan@gmail.com> Date: Mon, 21 Dec 2020 22:17:38 +0100 Subject: [PATCH] cell.tw to pure dom --- src/005-passages/arcologyBuildingPassage.js | 8 ++++++++ src/arcologyBuilding/cell.tw | 5 ----- 2 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 src/005-passages/arcologyBuildingPassage.js delete mode 100644 src/arcologyBuilding/cell.tw diff --git a/src/005-passages/arcologyBuildingPassage.js b/src/005-passages/arcologyBuildingPassage.js new file mode 100644 index 00000000000..cf43a8f8c94 --- /dev/null +++ b/src/005-passages/arcologyBuildingPassage.js @@ -0,0 +1,8 @@ +new App.DomPassage("Cell", + () => { + V.nextButton = "Back"; + V.nextLink = "Main"; + + return V.building.renderCell(V.cellPath); + }, ["jump-from-safe", "no-history"] +); diff --git a/src/arcologyBuilding/cell.tw b/src/arcologyBuilding/cell.tw deleted file mode 100644 index 5875dadfa14..00000000000 --- a/src/arcologyBuilding/cell.tw +++ /dev/null @@ -1,5 +0,0 @@ -:: Cell [nobr jump-from-safe no-history] - -<<set $nextButton = "Back", $nextLink = "Main">> - -<<includeDOM V.building.renderCell(V.cellPath)>> -- GitLab