markmap-lib 0.14.2-alpha.2 → 0.14.3-alpha.0
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 +4 -4
- package/dist/browser/index.min.js +3 -3
- package/dist/index.esm.js +9 -176
- package/dist/index.js +16 -183
- package/package.json +4 -4
package/dist/browser/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! markmap-lib v0.14.
|
|
1
|
+
/*! markmap-lib v0.14.3-alpha.0+44ce368 | 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) :
|
|
@@ -26,7 +26,7 @@ function _extends$1() {
|
|
|
26
26
|
return _extends$1.apply(this, arguments);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
/*! markmap-common v0.14.2
|
|
29
|
+
/*! markmap-common v0.14.2 | MIT License */
|
|
30
30
|
class Hook {
|
|
31
31
|
constructor() {
|
|
32
32
|
this.listeners = [];
|
|
@@ -284,7 +284,7 @@ async function loadJS(items, context) {
|
|
|
284
284
|
}
|
|
285
285
|
|
|
286
286
|
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";
|
|
287
|
-
const BASE_JS = [`https://cdn.jsdelivr.net/npm/d3@${"6.7.0"}`, `https://cdn.jsdelivr.net/npm/markmap-view@${"0.14.
|
|
287
|
+
const BASE_JS = [`https://cdn.jsdelivr.net/npm/d3@${"6.7.0"}`, `https://cdn.jsdelivr.net/npm/markmap-view@${"0.14.3-alpha.0+44ce368"}`].map(src => ({
|
|
288
288
|
type: 'script',
|
|
289
289
|
data: {
|
|
290
290
|
src
|
|
@@ -12998,7 +12998,7 @@ class Transformer {
|
|
|
12998
12998
|
}
|
|
12999
12999
|
|
|
13000
13000
|
const transformerVersions = {
|
|
13001
|
-
'markmap-lib': '0.14.
|
|
13001
|
+
'markmap-lib': '0.14.3-alpha.0+44ce368',
|
|
13002
13002
|
d3: "6.7.0"
|
|
13003
13003
|
};
|
|
13004
13004
|
|