markmap-autoloader 0.15.4 → 0.15.5-alpha.1

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -5
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /*! markmap-autoloader v0.15.4 | MIT License */
1
+ /*! markmap-autoloader v0.15.5-alpha.1+013bf59 | MIT License */
2
2
  this.markmap = this.markmap || {};
3
3
  (function (exports) {
4
4
  'use strict';
@@ -18,7 +18,7 @@ function _extends$1() {
18
18
  return _extends$1.apply(this, arguments);
19
19
  }
20
20
 
21
- /*! markmap-common v0.15.3 | MIT License */
21
+ /*! markmap-common v0.15.5-alpha.1+013bf59 | MIT License */
22
22
  function _extends() {
23
23
  _extends = Object.assign ? Object.assign.bind() : function (target) {
24
24
  for (var i = 1; i < arguments.length; i++) {
@@ -346,8 +346,8 @@ function buildCSSItem(path) {
346
346
  var _window$markmap;
347
347
  const enabled = {};
348
348
  const autoLoaderOptions = _extends$1({
349
- baseJs: [`d3@${"7.8.5"}`, `markmap-lib@${"0.15.4"}`, `markmap-view@${"0.15.4"}`, `markmap-toolbar@${"0.15.4"}`],
350
- baseCss: [`markmap-toolbar@${"0.15.4"}/dist/style.css`],
349
+ baseJs: [`d3@${"7.8.5"}`, `markmap-lib@${"0.15.5-alpha.1"}`, `markmap-view@${"0.15.5-alpha.1"}`, `markmap-toolbar@${"0.15.5-alpha.1"}`],
350
+ baseCss: [`markmap-toolbar@${"0.15.5-alpha.1"}/dist/style.css`],
351
351
  manual: false,
352
352
  toolbar: false
353
353
  }, (_window$markmap = window.markmap) == null ? void 0 : _window$markmap.autoLoader);
@@ -371,7 +371,7 @@ async function initialize() {
371
371
  style.textContent = markmap.globalCSS;
372
372
  // Insert global CSS to body so it has higher priority than prism.css, etc.
373
373
  document.body.prepend(style);
374
- autoLoaderOptions.onReady == null ? void 0 : autoLoaderOptions.onReady();
374
+ autoLoaderOptions.onReady == null || autoLoaderOptions.onReady();
375
375
  }
376
376
  const ready = initialize();
377
377
  function transform(transformer, content) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "markmap-autoloader",
3
- "version": "0.15.4",
3
+ "version": "0.15.5-alpha.1+013bf59",
4
4
  "description": "Load markmaps automatically in HTML",
5
5
  "author": "Gerald <gera2ld@live.com>",
6
6
  "license": "MIT",
@@ -38,10 +38,10 @@
38
38
  "markmap-common": "*"
39
39
  },
40
40
  "devDependencies": {
41
- "markmap-common": "0.15.3",
42
- "markmap-lib": "0.15.4",
43
- "markmap-toolbar": "0.15.4",
44
- "markmap-view": "0.15.4"
41
+ "markmap-common": "0.15.5-alpha.1+013bf59",
42
+ "markmap-lib": "0.15.5-alpha.1+013bf59",
43
+ "markmap-toolbar": "0.15.5-alpha.1+013bf59",
44
+ "markmap-view": "0.15.5-alpha.1+013bf59"
45
45
  },
46
- "gitHead": "63754c86c8cc17330081ac264882d2cbe791a972"
46
+ "gitHead": "013bf59b71f2253dc54249c4a5a3097bf686494f"
47
47
  }