hedgedoc/public/js
David Mehren 1c023e7881
Lazy-load abcjs
This commit moves the import of abcjs into a `require.ensure` block,
that is only executed when a abc diagram is actually present
in a note. Webpack automatically splits the library into a separate
chunk and loads that on demand.

To ensure that abc code-blocks are not treated as normal
code-blocks while the chunk is loading, a corresponding check is added
to `finishView`.

Signed-off-by: David Mehren <git@herrmehren.de>
2021-06-11 09:29:26 +02:00
..
lib Load inline-attachment without script-loader 2021-06-07 20:59:35 +02:00
cover.js
extra.js Lazy-load abcjs 2021-06-11 09:29:26 +02:00
history.js
htmlExport.js
index.js Load ot without script-loader 2021-06-07 20:59:37 +02:00
locale.js
mathjax-config-extra.js
pretty.js
render.js
reveal-markdown.js
slide.js
utils.js