@pie-element/explicit-constructed-response 7.1.2-next.49 → 7.1.2-next.51

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.
@@ -8,7 +8,7 @@
8
8
  "@material-ui/core": "^3.9.2",
9
9
  "@material-ui/icons": "^3.0.1",
10
10
  "@pie-framework/pie-configure-events": "^1.3.0",
11
- "@pie-lib/pie-toolbox": "2.0.12",
11
+ "@pie-lib/pie-toolbox": "2.0.13",
12
12
  "classnames": "^2.2.6",
13
13
  "debug": "^3.1.0",
14
14
  "lodash": "^4.17.15",
@@ -8,7 +8,7 @@
8
8
  "author": "",
9
9
  "license": "ISC",
10
10
  "dependencies": {
11
- "@pie-lib/pie-toolbox": "2.0.12",
11
+ "@pie-lib/pie-toolbox": "2.0.13",
12
12
  "debug": "^3.1.0",
13
13
  "lodash": "^4.17.15",
14
14
  "type-of": "^2.0.1"
package/module/element.js CHANGED
@@ -26312,6 +26312,15 @@ TexError$1.default = TexError;
26312
26312
  }
26313
26313
  });
26314
26314
  };
26315
+ var renderContentsWithMathJax = function renderContentsWithMathJax(el) {
26316
+ if (el instanceof Array) {
26317
+ el.forEach(function (elNode) {
26318
+ return renderContentWithMathJax(elNode);
26319
+ });
26320
+ } else {
26321
+ renderContentWithMathJax(el);
26322
+ }
26323
+ };
26315
26324
  var renderContentWithMathJax = function renderContentWithMathJax(executeOn) {
26316
26325
  executeOn = executeOn || document.body;
26317
26326
  if (!(executeOn instanceof HTMLElement)) return;
@@ -26509,11 +26518,11 @@ TexError$1.default = TexError;
26509
26518
  var executeOn = document.body;
26510
26519
  if (!usedForMmlOutput) {
26511
26520
  if (window.mathjaxLoadedComplete) {
26512
- renderContentWithMathJax(el);
26521
+ renderContentsWithMathJax(el);
26513
26522
  } else if (window.mathjaxLoadedP) {
26514
26523
  window.mathjaxLoadedP.then(function () {
26515
26524
  window.mathjaxLoadedComplete = true;
26516
- renderContentWithMathJax(el);
26525
+ renderContentsWithMathJax(el);
26517
26526
  })["catch"](function (error) {
26518
26527
  return console.error("Error in initializing MathJax:", error);
26519
26528
  });
package/module/print.js CHANGED
@@ -26275,6 +26275,15 @@ TexError$1.default = TexError;
26275
26275
  }
26276
26276
  });
26277
26277
  };
26278
+ var renderContentsWithMathJax = function renderContentsWithMathJax(el) {
26279
+ if (el instanceof Array) {
26280
+ el.forEach(function (elNode) {
26281
+ return renderContentWithMathJax(elNode);
26282
+ });
26283
+ } else {
26284
+ renderContentWithMathJax(el);
26285
+ }
26286
+ };
26278
26287
  var renderContentWithMathJax = function renderContentWithMathJax(executeOn) {
26279
26288
  executeOn = executeOn || document.body;
26280
26289
  if (!(executeOn instanceof HTMLElement)) return;
@@ -26472,11 +26481,11 @@ TexError$1.default = TexError;
26472
26481
  var executeOn = document.body;
26473
26482
  if (!usedForMmlOutput) {
26474
26483
  if (window.mathjaxLoadedComplete) {
26475
- renderContentWithMathJax(el);
26484
+ renderContentsWithMathJax(el);
26476
26485
  } else if (window.mathjaxLoadedP) {
26477
26486
  window.mathjaxLoadedP.then(function () {
26478
26487
  window.mathjaxLoadedComplete = true;
26479
- renderContentWithMathJax(el);
26488
+ renderContentsWithMathJax(el);
26480
26489
  })["catch"](function (error) {
26481
26490
  return console.error("Error in initializing MathJax:", error);
26482
26491
  });
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "repository": "pie-framework/pie-elements",
7
- "version": "7.1.2-next.49+2f5bb5932",
7
+ "version": "7.1.2-next.51+6b68a7880",
8
8
  "description": "",
9
9
  "scripts": {
10
10
  "postpublish": "../../scripts/postpublish"
@@ -12,7 +12,7 @@
12
12
  "dependencies": {
13
13
  "@material-ui/core": "^3.9.2",
14
14
  "@pie-framework/pie-player-events": "^0.1.0",
15
- "@pie-lib/pie-toolbox": "2.0.12",
15
+ "@pie-lib/pie-toolbox": "2.0.13",
16
16
  "classnames": "^2.2.5",
17
17
  "lodash": "^4.17.10",
18
18
  "prop-types": "^15.6.1",
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "author": "",
23
23
  "license": "ISC",
24
- "gitHead": "2f5bb59320c2e864d1e1a08f80ccc548d256e260",
24
+ "gitHead": "6b68a7880050f8c071db1d01e9c215914e95a6aa",
25
25
  "main": "lib/index.js",
26
26
  "module": "src/index.js",
27
27
  "exports": {