From a15a9ba7a3e2b541dd71ddaecb8294e62c59e608 Mon Sep 17 00:00:00 2001 From: Ludwig Schubert Date: Wed, 23 Aug 2017 11:49:47 -0700 Subject: [PATCH] export embedded katex as window global --- src/components.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components.js b/src/components.js index 877e195..fc2d960 100644 --- a/src/components.js +++ b/src/components.js @@ -1,5 +1,6 @@ /* Static styles and other modules */ import './styles/styles'; +import katex from 'katex'; /* Components */ import { Abstract } from './components/d-abstract'; @@ -42,3 +43,4 @@ function defineComponents() { } defineComponents(); +window.katex = katex;