From f4d9ad9d95c8e8bfd9eb452d52b0a6b3624d20b7 Mon Sep 17 00:00:00 2001 From: nanaya Date: Thu, 24 Oct 2024 22:40:47 +0900 Subject: [PATCH] Remove unused function It's extracted to util file but the origin was left behind. --- src/core/drive/visit.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/core/drive/visit.js b/src/core/drive/visit.js index 97aef6300..1071a5284 100644 --- a/src/core/drive/visit.js +++ b/src/core/drive/visit.js @@ -386,16 +386,6 @@ export class Visit { // Private - getHistoryMethodForAction(action) { - switch (action) { - case "replace": - return history.replaceState - case "advance": - case "restore": - return history.pushState - } - } - hasPreloadedResponse() { return typeof this.response == "object" }