markmap-lib 0.13.6-alpha.3 → 0.13.6-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +3 -3
- package/dist/browser/index.min.js +3 -3
- package/dist/index.esm.js +176 -9
- package/dist/index.js +182 -15
- package/package.json +7 -4
package/dist/browser/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! markmap-lib v0.13.6-alpha.
|
|
1
|
+
/*! markmap-lib v0.13.6-alpha.4+70ae484 | MIT License */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('katex')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'katex'], factory) :
|
|
@@ -278,7 +278,7 @@ async function loadJS(items, context) {
|
|
|
278
278
|
}
|
|
279
279
|
|
|
280
280
|
const template = "<!DOCTYPE html>\n<html>\n<head>\n<meta charset=\"UTF-8\">\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n<meta http-equiv=\"X-UA-Compatible\" content=\"ie=edge\">\n<title>Markmap</title>\n<style>\n* {\n margin: 0;\n padding: 0;\n}\n#mindmap {\n display: block;\n width: 100vw;\n height: 100vh;\n}\n</style>\n<!--CSS-->\n</head>\n<body>\n<svg id=\"mindmap\"></svg>\n<!--JS-->\n</body>\n</html>\n";
|
|
281
|
-
const BASE_JS = [`https://cdn.jsdelivr.net/npm/d3@${"6.7.0"}`, `https://cdn.jsdelivr.net/npm/markmap-view@${"0.13.
|
|
281
|
+
const BASE_JS = [`https://cdn.jsdelivr.net/npm/d3@${"6.7.0"}`, `https://cdn.jsdelivr.net/npm/markmap-view@${"0.13.6-alpha.4+70ae484"}`].map(src => ({
|
|
282
282
|
type: 'script',
|
|
283
283
|
data: {
|
|
284
284
|
src
|
|
@@ -12976,7 +12976,7 @@ class Transformer {
|
|
|
12976
12976
|
}
|
|
12977
12977
|
|
|
12978
12978
|
const transformerVersions = {
|
|
12979
|
-
'markmap-lib': '0.13.6-alpha.
|
|
12979
|
+
'markmap-lib': '0.13.6-alpha.4+70ae484',
|
|
12980
12980
|
d3: "6.7.0"
|
|
12981
12981
|
};
|
|
12982
12982
|
|