From 9ff3c530daa8b711614efdb1bbfaddd7712b0619 Mon Sep 17 00:00:00 2001 From: Emile Date: Sun, 16 Jan 2022 10:36:30 +0100 Subject: [PATCH] fix: Juggl codeblocks --- src/Codeblocks.ts | 1 + src/Visualisations/Juggl.ts | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Codeblocks.ts b/src/Codeblocks.ts index a1df8109..5f2b1bca 100644 --- a/src/Codeblocks.ts +++ b/src/Codeblocks.ts @@ -39,6 +39,7 @@ import { import type { CodeblockFields, ParsedCodeblock } from "./interfaces"; import type BCPlugin from "./main"; import { dropFolder, getFields, splitAndTrim } from "./sharedFunctions"; +import {createJuggl} from "./Visualisations/Juggl"; export function getCodeblockCB(plugin: BCPlugin) { const { settings } = plugin; diff --git a/src/Visualisations/Juggl.ts b/src/Visualisations/Juggl.ts index 7187dd61..ac0737a3 100644 --- a/src/Visualisations/Juggl.ts +++ b/src/Visualisations/Juggl.ts @@ -106,7 +106,7 @@ class BCStore extends Component implements ICoreDataStore { } } -function createJuggl( +export function createJuggl( plugin: BCPlugin, target: HTMLElement, initialNodes: string[],