From 549190cb8ef2b1cf8b7d01338d4d612def96c418 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20R=C3=A4tzel?= Date: Mon, 15 Mar 2021 16:25:54 +0000 Subject: [PATCH] Update VolatileHost module name Reflect the newer scope of this module - not anymore limited to Elm make. --- implement/example-apps/elm-editor/src/Backend/Main.elm | 4 ++-- .../src/Backend/{ElmMakeVolatileHost.elm => VolatileHost.elm} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename implement/example-apps/elm-editor/src/Backend/{ElmMakeVolatileHost.elm => VolatileHost.elm} (99%) diff --git a/implement/example-apps/elm-editor/src/Backend/Main.elm b/implement/example-apps/elm-editor/src/Backend/Main.elm index 95e849c3..3b536285 100644 --- a/implement/example-apps/elm-editor/src/Backend/Main.elm +++ b/implement/example-apps/elm-editor/src/Backend/Main.elm @@ -4,9 +4,9 @@ module Backend.Main exposing , interfaceToHost_processEvent ) -import Backend.ElmMakeVolatileHost as ElmMakeVolatileHost import Backend.InterfaceToHost as InterfaceToHost import Backend.Route +import Backend.VolatileHost as VolatileHost import Base64 import Bytes.Encode import Common @@ -304,7 +304,7 @@ tasksFromState state = tasksToEnsureEnoughVolatileHostsCreated = if List.length state.volatileHostsIds < parallelVolatileHostsCount then [ { taskId = "create-vhost" - , task = InterfaceToHost.CreateVolatileHost { script = ElmMakeVolatileHost.volatileHostScript } + , task = InterfaceToHost.CreateVolatileHost { script = VolatileHost.volatileHostScript } } ] diff --git a/implement/example-apps/elm-editor/src/Backend/ElmMakeVolatileHost.elm b/implement/example-apps/elm-editor/src/Backend/VolatileHost.elm similarity index 99% rename from implement/example-apps/elm-editor/src/Backend/ElmMakeVolatileHost.elm rename to implement/example-apps/elm-editor/src/Backend/VolatileHost.elm index e0e58f36..c9d3369e 100644 --- a/implement/example-apps/elm-editor/src/Backend/ElmMakeVolatileHost.elm +++ b/implement/example-apps/elm-editor/src/Backend/VolatileHost.elm @@ -1,4 +1,4 @@ -module Backend.ElmMakeVolatileHost exposing +module Backend.VolatileHost exposing ( jsonDecodeResponseStructure , requestToVolatileHost , volatileHostScript