diff --git a/src/components/ScrollyVideo/ScrollyVideo.svelte b/src/components/ScrollyVideo/ScrollyVideo.svelte index f1deac66..a3ef40e3 100644 --- a/src/components/ScrollyVideo/ScrollyVideo.svelte +++ b/src/components/ScrollyVideo/ScrollyVideo.svelte @@ -4,6 +4,7 @@ import ScrollyVideo from './js/ScrollyVideo.js'; import type { Snippet } from 'svelte'; import { setContext } from 'svelte'; + import { dev } from '$app/environment'; /** * Props for the ScrollyVideo Svelte component. @@ -178,13 +179,18 @@ style="height: {heightChange}; width: 100%; min-height: 100svh;" >
- {@html JSON.stringify(flattenObject(scrollyVideo.componentState))
- .replace(/[{}"]/g, '')
- .split(',')
- .join('
')}
-
FOR DEVS ONLY
+
+ {@html JSON.stringify(flattenObject(scrollyVideo.componentState))
+ .replace(/[{}"]/g, '')
+ .split(',')
+ .join('
')}
+