diff --git a/site/src/routes/repl/_components/Output/index.html b/site/src/routes/repl/_components/Output/index.html index 4fe9578c5b..467cc439b4 100644 --- a/site/src/routes/repl/_components/Output/index.html +++ b/site/src/routes/repl/_components/Output/index.html @@ -5,7 +5,7 @@ import PropEditor from './PropEditor.html'; import CodeMirror from '../CodeMirror.html'; - export let bundle + export let bundle; export let js; export let css; export let dom; @@ -17,6 +17,7 @@ export let sourceErrorLoc; export let runtimeError; export let compileOptions; + export let embedded; // refs let viewer; @@ -166,6 +167,14 @@ {/if} +{:elseif embedded} + {:else}
@@ -184,4 +193,4 @@ -{/if} \ No newline at end of file +{/if} diff --git a/site/src/routes/repl/_components/Repl.html b/site/src/routes/repl/_components/Repl.html index 1d90bd0f74..6c9780a197 100644 --- a/site/src/routes/repl/_components/Repl.html +++ b/site/src/routes/repl/_components/Repl.html @@ -10,6 +10,7 @@ export let version = 'alpha'; // TODO change this to latest when the time comes export let app; + export let embedded = false; export function toJSON() { // TODO there's a bug here — Svelte hoists this function because @@ -310,10 +311,11 @@ {values_store} {sourceError} {runtimeError} + {embedded} />
- \ No newline at end of file + diff --git a/site/src/routes/repl/embed.html b/site/src/routes/repl/embed.html index 6794ccdd1c..94f3c766c9 100644 --- a/site/src/routes/repl/embed.html +++ b/site/src/routes/repl/embed.html @@ -103,6 +103,6 @@
{#if process.browser} - + {/if}