From 9c3e6fa3ec09ef06b8e886ef5dd28c5683d66910 Mon Sep 17 00:00:00 2001 From: kovacsv Date: Mon, 20 Dec 2021 16:10:45 +0100 Subject: [PATCH] Object oriented embedding. --- sandbox/embed_edges.html | 2 +- sandbox/embed_filehost.html | 2 +- sandbox/embed_selfhost_code.html | 132 ++++++++++++++++ sandbox/embed_selfhost_errors.html | 2 +- sandbox/embed_selfhost_externallibs.html | 2 +- sandbox/embed_selfhost_fullscreen.html | 2 +- sandbox/embed_selfhost_manual.html | 8 +- sandbox/embed_selfhost_multiple.html | 2 +- sandbox/embed_selfhost_single.html | 2 +- sandbox/embed_selfhost_single_scroll.html | 2 +- source/viewer/domviewer.js | 170 -------------------- source/viewer/embeddedviewer.js | 183 ++++++++++++++++++++++ tools/config.json | 2 +- website/embed.html | 2 +- website/index.html | 2 +- 15 files changed, 330 insertions(+), 185 deletions(-) create mode 100644 sandbox/embed_selfhost_code.html delete mode 100644 source/viewer/domviewer.js create mode 100644 source/viewer/embeddedviewer.js diff --git a/sandbox/embed_edges.html b/sandbox/embed_edges.html index c2040cc..c22ac2a 100644 --- a/sandbox/embed_edges.html +++ b/sandbox/embed_edges.html @@ -72,7 +72,7 @@ - + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + diff --git a/sandbox/embed_selfhost_errors.html b/sandbox/embed_selfhost_errors.html index 830fb9f..ce7b970 100644 --- a/sandbox/embed_selfhost_errors.html +++ b/sandbox/embed_selfhost_errors.html @@ -72,7 +72,7 @@ - + - + - + - +