@@ -74,7 +74,7 @@ project and,
7474* or starts the Obelisk server, which serves:
7575 * your backend's route handlers,
7676 * the static assets,
77− * the result of compiling & linking your frontend with GHCJS.
77+ * the [JSaddle](https://github.com/ghcjs/jsaddle) frontend code (while opening its websocket).
7878
7979#### Longer version:
8080
@@ -105,8 +105,8 @@ It is defined in `./obelisk/lib/run/src/Obelisk/Run.hs`:
105105 This runs `runSnapWithCommandLineArgs` and
106106 * passes routes to the backend
107107 (result of the `_backend_run` field of the `Backend x y` “user” record)
108− * or to `serveDefaultObeliskApp` (`./lib/backend/src/Obelisk/Backend.hs`) to serve
109− static assets (incl. the GHCJS output of the frontend).
108+ * or to `serveDefaultObeliskApp` (`./lib/backend/src/Obelisk/Backend.hs`) to
109+ serve static assets.
110110* Starts `runWidget`
111111 which itself runs
112112 [runSettingsSocket](https://hoogle.haskell.org/?hoogle=runSettingsSocket)
@@ -115,6 +115,7 @@ It is defined in `./obelisk/lib/run/src/Obelisk/Run.hs`:
115115 * creates the HTTP connection manager
116116 ( [`newManager`](https://hackage.haskell.org/package/http-client-0.6.3/docs/Network-HTTP-Client.html#v:newManager))
117117 * calls `obeliskApp` which
118− * has a route to serve [`ghcjs/jsaddle`](https://github.com/ghcjs/jsaddle) (GHCJS bindings to JS/Dom),
118+ * has a route to serve the [JSaddle](https://github.com/ghcjs/jsaddle) frontend,
119119 * runs the frontend (*on* the server), to produce pre-rendered pages,
120− * falls back to proxying the backend (`fallbackProxy`)
120+ * starts the JSaddle web-socket,
121+ * “falls back” to proxying the backend (`fallbackProxy`).