From 5eafdd446f265900bfd7f13087a6e5804e0b5dc8 Mon Sep 17 00:00:00 2001 From: David Pershouse Date: Sat, 12 Jan 2019 01:46:33 +1000 Subject: [PATCH] abstract repl interaction code --- .../repl/_components/Output/Viewer.html | 244 +++++------------- site/src/routes/repl/_utils/replProxy.js | 87 +++++++ site/static/repl-runner.js | 107 ++++---- 3 files changed, 201 insertions(+), 237 deletions(-) create mode 100644 site/src/routes/repl/_utils/replProxy.js diff --git a/site/src/routes/repl/_components/Output/Viewer.html b/site/src/routes/repl/_components/Output/Viewer.html index 9cfe5a5942..e62e0d695b 100644 --- a/site/src/routes/repl/_components/Output/Viewer.html +++ b/site/src/routes/repl/_components/Output/Viewer.html @@ -1,6 +1,7 @@