From 665c3eac790649a33abef8bed972046fb368c7f2 Mon Sep 17 00:00:00 2001 From: Conduitry Date: Wed, 20 Mar 2019 10:52:56 -0400 Subject: [PATCH] site: run tutorial and widget REPLs in relaxed sandbox (#2147) --- site/src/components/Repl/Output/Viewer.svelte | 4 +++- site/src/components/Repl/Output/index.svelte | 2 ++ site/src/components/Repl/ReplWidget.svelte | 2 +- site/src/components/Repl/index.svelte | 3 ++- site/src/routes/tutorial/[slug]/index.svelte | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/site/src/components/Repl/Output/Viewer.svelte b/site/src/components/Repl/Output/Viewer.svelte index 66221d6acb..9e1997b39c 100644 --- a/site/src/components/Repl/Output/Viewer.svelte +++ b/site/src/components/Repl/Output/Viewer.svelte @@ -15,6 +15,8 @@ proxy.setProp(prop, value); } + export let relaxed = false; + let iframe; let pending_imports = 0; let pending = false; @@ -127,7 +129,7 @@
-