Changed around line 1
+ 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 = `
+ const embedIframe${id} = document.getElementById('sandDance${id}');
+ embedIframe${id}.onload = () => {
+ const data = ${JSON.stringify(data)};
+ embedIframe${id}.contentWindow.postMessage({
+ action: 'load',
+ data
+ }, '*');
+ }`
+ return `
+ ${tag}`
+ }