commit 78fc5be78fee66aa3b804cdc5d7271effa900ca3
Author: ffff:12.186.22.250 <ffff:12.186.22.250@hub.scroll.pub>
Date: 2025-01-07 00:10:44 +0000
Subject: updated index.scroll
diff --git a/index.scroll b/index.scroll
index 75cb549..2f0c2fd 100644
--- a/index.scroll
+++ b/index.scroll
@@ -1,6 +1,6 @@
buildHtml
-https://sanddance.scroll.pub/sanddance.parsers
+sanddance.parsers
iris
sandDance
\ No newline at end of file
commit ff0e38479ee23cc90bcc2c01333f890fbd942376
Author: ffff:12.186.22.250 <ffff:12.186.22.250@hub.scroll.pub>
Date: 2025-01-07 00:10:16 +0000
Subject: updated index.scroll
diff --git a/index.scroll b/index.scroll
index 79422f3..75cb549 100644
--- a/index.scroll
+++ b/index.scroll
@@ -1,7 +1,6 @@
buildHtml
-http://sanddance.scroll.pub/sanddance.parsers
-
+https://sanddance.scroll.pub/sanddance.parsers
iris
sandDance
\ No newline at end of file
commit cc24a64851a9bd2240b790c7cad49299e045eeae
Author: ffff:12.186.22.250 <ffff:12.186.22.250@hub.scroll.pub>
Date: 2025-01-07 00:10:02 +0000
Subject: updated index.scroll
diff --git a/index.scroll b/index.scroll
index 4442ed6..79422f3 100644
--- a/index.scroll
+++ b/index.scroll
@@ -1,4 +1,7 @@
buildHtml
-theme roboto
-Hello World my name is
\ No newline at end of file
+http://sanddance.scroll.pub/sanddance.parsers
+
+
+iris
+ sandDance
\ No newline at end of file
commit 3f2725afe24d947d413d17017a0048157bc13a97
Author: ffff:12.186.22.250 <ffff:12.186.22.250@hub.scroll.pub>
Date: 2025-01-07 00:09:40 +0000
Subject: updated sanddance.parsers
diff --git a/sanddance.parsers b/sanddance.parsers
index e69de29..9efce8f 100644
--- a/sanddance.parsers
+++ b/sanddance.parsers
@@ -0,0 +1,23 @@
+sandDanceParser
+ extends abstractTableVisualizationParser
+ description Create a SandDance visualization.
+ cue sandDance
+ example
+ iris
+ sandDance
+ javascript
+ buildHtml() {
+ const id = this._getUid()
+ const data = this.parent.coreTable
+ const tag = `<script>
+ const embedIframe${id} = document.getElementById('sandDance${id}');
+ embedIframe${id}.onload = () => {
+ const data = ${JSON.stringify(data)};
+ embedIframe${id}.contentWindow.postMessage({
+ action: 'load',
+ data
+ }, '*');
+ }</script>`
+ return `<style>body,html{height:100%;width:100%;}</style><iframe id="sandDance${id}" src="https://microsoft.github.io/SandDance/embed/v4/sanddance-embed.html" style="height:100%;width:100%;border:none;"></iframe>
+ ${tag}`
+ }
\ No newline at end of file
commit 2e0c29d7fe7376d749fe05dabf9b7ec3b6c7cd0e
Author: ffff:12.186.22.250 <ffff:12.186.22.250@hub.scroll.pub>
Date: 2025-01-07 00:09:38 +0000
Subject: created sanddance.parsers
diff --git a/sanddance.parsers b/sanddance.parsers
new file mode 100644
index 0000000..e69de29
commit fda54dbff1d85c5169aabaa592b849be690002f2
Author: ffff:12.186.22.250 <ffff:12.186.22.250@hub.scroll.pub>
Date: 2024-12-22 18:15:33 +0000
Subject: updated .gitignore
diff --git a/.gitignore b/.gitignore
index bd1a52d..43b9694 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,4 +5,5 @@
*.css
*.js
*.csv
+.*
requests.scroll
\ No newline at end of file
commit 93e43037b7794c5d3de89eaf6afe3e3d561d8df3
Author: root <root@hub.scroll.pub>
Date: 2024-11-10 20:12:15 +0000
Subject: initial blank_template template
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..bd1a52d
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,8 @@
+.DS_Store
+*.html
+*.txt
+*.xml
+*.css
+*.js
+*.csv
+requests.scroll
\ No newline at end of file
diff --git a/index.scroll b/index.scroll
new file mode 100644
index 0000000..4442ed6
--- /dev/null
+++ b/index.scroll
@@ -0,0 +1,4 @@
+buildHtml
+theme roboto
+
+Hello World my name is
\ No newline at end of file