@pie-element/explicit-constructed-response 6.12.2 → 6.12.3

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/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [6.12.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response@6.12.2...@pie-element/explicit-constructed-response@6.12.3) (2024-05-07)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * add logs PD-3731 ([0785a79](https://github.com/pie-framework/pie-elements/commit/0785a799fde39c01525daf8d95618bfd8ea926a2))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [6.12.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response@6.12.1...@pie-element/explicit-constructed-response@6.12.2) (2024-05-03)
7
18
 
8
19
 
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [6.11.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response-configure@6.11.2...@pie-element/explicit-constructed-response-configure@6.11.3) (2024-05-07)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * add logs PD-3731 ([0785a79](https://github.com/pie-framework/pie-elements/commit/0785a799fde39c01525daf8d95618bfd8ea926a2))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [6.11.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response-configure@6.11.1...@pie-element/explicit-constructed-response-configure@6.11.2) (2024-05-03)
7
18
 
8
19
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-element/explicit-constructed-response-configure",
3
- "version": "6.11.2",
3
+ "version": "6.11.3",
4
4
  "private": true,
5
5
  "main": "lib/index.js",
6
6
  "modue": "src/index.js",
@@ -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": "1.17.1",
11
+ "@pie-lib/pie-toolbox": "1.17.2",
12
12
  "classnames": "^2.2.6",
13
13
  "debug": "^3.1.0",
14
14
  "lodash": "^4.17.15",
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.10.3](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response-controller@4.10.2...@pie-element/explicit-constructed-response-controller@4.10.3) (2024-05-07)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * add logs PD-3731 ([0785a79](https://github.com/pie-framework/pie-elements/commit/0785a799fde39c01525daf8d95618bfd8ea926a2))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [4.10.2](https://github.com/pie-framework/pie-elements/compare/@pie-element/explicit-constructed-response-controller@4.10.1...@pie-element/explicit-constructed-response-controller@4.10.2) (2024-05-03)
7
18
 
8
19
 
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@pie-element/explicit-constructed-response-controller",
3
3
  "private": true,
4
- "version": "4.10.2",
4
+ "version": "4.10.3",
5
5
  "description": "",
6
6
  "main": "lib/index.js",
7
7
  "module": "src/index.js",
8
8
  "author": "",
9
9
  "license": "ISC",
10
10
  "dependencies": {
11
- "@pie-lib/pie-toolbox": "1.17.1",
11
+ "@pie-lib/pie-toolbox": "1.17.2",
12
12
  "debug": "^3.1.0",
13
13
  "lodash": "^4.17.15",
14
14
  "type-of": "^2.0.1"
@@ -1,4 +1,4 @@
1
- import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.10.0/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_lodash, _dll_debug} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.10.1/module/index.js";
2
2
  import {_dll_pie_lib__pie_toolbox_editable_html, _dll_pie_lib__pie_toolbox_config_ui} from "../../../@pie-lib/pie-toolbox-module@4.12.0/module/index.js";
3
3
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
4
4
  function getDefaultExportFromCjs(x) {
package/module/element.js CHANGED
@@ -1,4 +1,4 @@
1
- import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_classnames, _dll_react_dom, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.10.0/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_classnames, _dll_react_dom, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.10.1/module/index.js";
2
2
  import {_dll_pie_lib__pie_toolbox_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@4.12.0/module/index.js";
3
3
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
4
4
  function getDefaultExportFromCjs(x) {
@@ -70008,10 +70008,13 @@ const require$$12$9 = _dll_debug;
70008
70008
  var renderMath = function renderMath(el, renderOpts) {
70009
70009
  var _getGlobal$instance, _getGlobal$instance2;
70010
70010
  if (window && window.MathJax && window.MathJax.customKey && window.MathJax.customKey == '@pie-lib/math-rendering-accessible@1') {
70011
+ console.log('RETURN FROM OLD MATH RENDERING, MATH RENDERING ACCESSIBLE WAS FOUND');
70011
70012
  return;
70012
70013
  }
70014
+ console.log('we are in old math rendering');
70013
70015
  var isString = typeof el === 'string';
70014
70016
  var executeOn = document.body;
70017
+ console.log(isString, 'is string in old math rendering');
70015
70018
  if (isString) {
70016
70019
  var div = document.createElement('div');
70017
70020
  div.innerHTML = el;
@@ -70024,11 +70027,14 @@ const require$$12$9 = _dll_debug;
70024
70027
  var updatedDocument = html.findMath().compile().getMetrics().typeset().updateDocument();
70025
70028
  var list = updatedDocument.math.list;
70026
70029
  var item = list.next;
70030
+ console.log(item, 'item in old math rendering');
70027
70031
  if (!item) {
70032
+ console.log("return '' in old math rendering");
70028
70033
  return '';
70029
70034
  }
70030
70035
  var mathMl = toMMl(item.data.root);
70031
70036
  var parsedMathMl = mathMl.replaceAll('\n', '');
70037
+ console.log(parsedMathMl, 'parsedMathMl in old math rendering');
70032
70038
  return parsedMathMl;
70033
70039
  }
70034
70040
  if (!getGlobal().instance) {
@@ -70038,11 +70044,14 @@ const require$$12$9 = _dll_debug;
70038
70044
  log('el is undefined');
70039
70045
  return;
70040
70046
  }
70047
+ console.log(el, 'element in old math rendering');
70041
70048
  if (el instanceof Element && (_getGlobal$instance = getGlobal().instance) !== null && _getGlobal$instance !== void 0 && _getGlobal$instance.Typeset) {
70049
+ console.log('Typeset element in old math rendering');
70042
70050
  getGlobal().instance.Typeset(el);
70043
70051
  } else if (el.length && (_getGlobal$instance2 = getGlobal().instance) !== null && _getGlobal$instance2 !== void 0 && _getGlobal$instance2.Typeset) {
70044
70052
  var _getGlobal$instance3;
70045
70053
  var arr = Array.from(el);
70054
+ console.log(arr, 'Typeset arr in old math rendering');
70046
70055
  (_getGlobal$instance3 = getGlobal().instance).Typeset.apply(_getGlobal$instance3, (0, _toConsumableArray2["default"])(arr));
70047
70056
  }
70048
70057
  };
@@ -79013,7 +79022,10 @@ getDefaultExportFromCjs(mathRendering);
79013
79022
  return ((_window = window) === null || _window === void 0 ? void 0 : (_window$MathJax = _window.MathJax) === null || _window$MathJax === void 0 ? void 0 : _window$MathJax.customKey) || ((_window2 = window) === null || _window2 === void 0 ? void 0 : (_window2$MathJax = _window2.MathJax) === null || _window2$MathJax === void 0 ? void 0 : (_window2$MathJax$conf = _window2$MathJax.config) === null || _window2$MathJax$conf === void 0 ? void 0 : _window2$MathJax$conf.customKey);
79014
79023
  };
79015
79024
  var renderMath = function renderMath(el, renderOpts) {
79025
+ console.log("I'm in math rendering accessible");
79016
79026
  var isString = typeof el === 'string';
79027
+ console.log('IS STRING', isString);
79028
+ console.log('renderOpts', renderOpts);
79017
79029
  var executeOn = document.body;
79018
79030
  if (isString) {
79019
79031
  var div = document.createElement('div');
@@ -79021,16 +79033,19 @@ getDefaultExportFromCjs(mathRendering);
79021
79033
  executeOn = div;
79022
79034
  }
79023
79035
  var _ref = renderOpts || ({}), skipWaitForMathRenderingLib = _ref.skipWaitForMathRenderingLib;
79036
+ console.log(skipWaitForMathRenderingLib, 'skipWaitForMathRenderingLib');
79024
79037
  var renderMathAccessible = function renderMathAccessible() {
79025
79038
  fixMathElements(executeOn);
79026
79039
  adjustMathMLStyle(executeOn);
79027
79040
  var mathJaxCustomKey = getMathJaxCustomKey();
79028
79041
  if (!window.MathJax && !window.mathjaxLoadedP || mathJaxCustomKey && mathJaxCustomKey !== mathRenderingAccessibleKEY) {
79042
+ console.log('INITIALIZE MATHJAX ACCESSIBLE');
79029
79043
  renderOpts = renderOpts || defaultOpts();
79030
79044
  (0, _mathjaxScript.initializeMathJax)(renderOpts);
79031
79045
  }
79032
79046
  if (isString && window.MathJax && window.mathjaxLoadedP) {
79033
79047
  try {
79048
+ console.log('THE ISSUE MUST BE HERE');
79034
79049
  MathJax.texReset();
79035
79050
  MathJax.typesetClear();
79036
79051
  window.MathJax.typeset([executeOn]);
@@ -79039,6 +79054,7 @@ getDefaultExportFromCjs(mathRendering);
79039
79054
  var item = list.next;
79040
79055
  var mathMl = toMMl(item.data.root);
79041
79056
  var parsedMathMl = mathMl.replaceAll('\n', '');
79057
+ console.log(parsedMathMl, 'parsedMathMl');
79042
79058
  return parsedMathMl;
79043
79059
  } catch (error) {
79044
79060
  console.error('Error rendering math:', error.message);
@@ -79047,11 +79063,13 @@ getDefaultExportFromCjs(mathRendering);
79047
79063
  if (window.mathjaxLoadedP) {
79048
79064
  window.mathjaxLoadedP.then(function () {
79049
79065
  var mathJaxInstance = getGlobal().instance;
79066
+ console.log(mathJaxInstance, 'mathJaxInstance');
79050
79067
  if (mathJaxInstance) {
79051
79068
  mathJaxInstance.texReset();
79052
79069
  mathJaxInstance.typesetClear();
79053
79070
  mathJaxInstance.typesetPromise([executeOn]).then(function () {
79054
79071
  try {
79072
+ console.log("I'm in typesetPromise???");
79055
79073
  removeExcessMjxContainers(executeOn);
79056
79074
  removePlaceholdersAndRestoreDisplay();
79057
79075
  var _updatedDocument = mathJaxInstance.startup.document;
@@ -79075,13 +79093,16 @@ getDefaultExportFromCjs(mathRendering);
79075
79093
  }
79076
79094
  };
79077
79095
  if (skipWaitForMathRenderingLib) {
79096
+ console.log(skipWaitForMathRenderingLib, 'skipWaitForMathRenderingLib');
79078
79097
  return renderMathAccessible();
79079
79098
  } else {
79080
79099
  if (window.hasOwnProperty(mathRenderingKEY) && window[mathRenderingKEY].instance) {
79100
+ console.log(mathRenderingKEY, 'mathRenderingKEY');
79081
79101
  removePlaceholdersAndRestoreDisplay();
79082
79102
  return mr.renderMath();
79083
79103
  }
79084
79104
  if (window.hasOwnProperty(mathRenderingAccessibleKEY) && window[mathRenderingAccessibleKEY].instance) {
79105
+ console.log(mathRenderingAccessibleKEY, 'mathRenderingAccessibleKEY');
79085
79106
  return renderMathAccessible();
79086
79107
  }
79087
79108
  var waitForMathRenderingLib = function waitForMathRenderingLib(renderMathAccessibleCallback) {
@@ -79096,6 +79117,7 @@ getDefaultExportFromCjs(mathRendering);
79096
79117
  if (mathRenderingHasLoaded || hasExceededMaxWait) {
79097
79118
  clearInterval(checkIntervalId);
79098
79119
  if (mathRenderingHasLoaded) {
79120
+ console.log(mathRenderingHasLoaded, 'mathRenderingHasLoaded');
79099
79121
  removePlaceholdersAndRestoreDisplay();
79100
79122
  return mr.renderMath();
79101
79123
  }
@@ -79104,6 +79126,7 @@ getDefaultExportFromCjs(mathRendering);
79104
79126
  };
79105
79127
  checkIntervalId = setInterval(checkForLib, 100);
79106
79128
  };
79129
+ console.log('waitForMathRenderingLib');
79107
79130
  waitForMathRenderingLib(renderMathAccessible);
79108
79131
  }
79109
79132
  };
package/module/index.html CHANGED
@@ -2,7 +2,7 @@
2
2
  <!doctype html>
3
3
  <html>
4
4
  <head>
5
- <title>@pie-element/explicit-constructed-response@6.12.1</title>
5
+ <title>@pie-element/explicit-constructed-response@6.12.2</title>
6
6
  <script
7
7
  type="module"
8
8
  src="https://cdn.jsdelivr.net/npm/@pslb/demo-el@^1.0.0/dist/demo-el/demo-el.esm.js"></script>
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@pie-element/explicit-constructed-response",
3
- "version": "6.12.1",
3
+ "version": "6.12.2",
4
4
  "modules": [
5
5
  {
6
6
  "name": "@pie-lib/pie-toolbox-math-rendering-module",
7
- "version": "1.10.0"
7
+ "version": "1.10.1"
8
8
  },
9
9
  {
10
10
  "name": "@pie-lib/pie-toolbox-module",
package/module/print.html CHANGED
@@ -2,7 +2,7 @@
2
2
  <!doctype html>
3
3
  <html>
4
4
  <head>
5
- <title>@pie-element/explicit-constructed-response@6.12.1</title>
5
+ <title>@pie-element/explicit-constructed-response@6.12.2</title>
6
6
  <link
7
7
  href="https://fonts.googleapis.com/css?family=Roboto&display=swap"
8
8
  rel="stylesheet"
package/module/print.js CHANGED
@@ -1,4 +1,4 @@
1
- import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_classnames, _dll_react_dom, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.10.0/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_classnames, _dll_react_dom, _dll_pie_lib__pie_toolbox_math_rendering_accessible} from "../../../@pie-lib/pie-toolbox-math-rendering-module@1.10.1/module/index.js";
2
2
  import {_dll_pie_lib__pie_toolbox_correct_answer_toggle, _dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@4.12.0/module/index.js";
3
3
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
4
4
  function getDefaultExportFromCjs(x) {
@@ -69971,10 +69971,13 @@ const require$$12$9 = _dll_debug;
69971
69971
  var renderMath = function renderMath(el, renderOpts) {
69972
69972
  var _getGlobal$instance, _getGlobal$instance2;
69973
69973
  if (window && window.MathJax && window.MathJax.customKey && window.MathJax.customKey == '@pie-lib/math-rendering-accessible@1') {
69974
+ console.log('RETURN FROM OLD MATH RENDERING, MATH RENDERING ACCESSIBLE WAS FOUND');
69974
69975
  return;
69975
69976
  }
69977
+ console.log('we are in old math rendering');
69976
69978
  var isString = typeof el === 'string';
69977
69979
  var executeOn = document.body;
69980
+ console.log(isString, 'is string in old math rendering');
69978
69981
  if (isString) {
69979
69982
  var div = document.createElement('div');
69980
69983
  div.innerHTML = el;
@@ -69987,11 +69990,14 @@ const require$$12$9 = _dll_debug;
69987
69990
  var updatedDocument = html.findMath().compile().getMetrics().typeset().updateDocument();
69988
69991
  var list = updatedDocument.math.list;
69989
69992
  var item = list.next;
69993
+ console.log(item, 'item in old math rendering');
69990
69994
  if (!item) {
69995
+ console.log("return '' in old math rendering");
69991
69996
  return '';
69992
69997
  }
69993
69998
  var mathMl = toMMl(item.data.root);
69994
69999
  var parsedMathMl = mathMl.replaceAll('\n', '');
70000
+ console.log(parsedMathMl, 'parsedMathMl in old math rendering');
69995
70001
  return parsedMathMl;
69996
70002
  }
69997
70003
  if (!getGlobal().instance) {
@@ -70001,11 +70007,14 @@ const require$$12$9 = _dll_debug;
70001
70007
  log('el is undefined');
70002
70008
  return;
70003
70009
  }
70010
+ console.log(el, 'element in old math rendering');
70004
70011
  if (el instanceof Element && (_getGlobal$instance = getGlobal().instance) !== null && _getGlobal$instance !== void 0 && _getGlobal$instance.Typeset) {
70012
+ console.log('Typeset element in old math rendering');
70005
70013
  getGlobal().instance.Typeset(el);
70006
70014
  } else if (el.length && (_getGlobal$instance2 = getGlobal().instance) !== null && _getGlobal$instance2 !== void 0 && _getGlobal$instance2.Typeset) {
70007
70015
  var _getGlobal$instance3;
70008
70016
  var arr = Array.from(el);
70017
+ console.log(arr, 'Typeset arr in old math rendering');
70009
70018
  (_getGlobal$instance3 = getGlobal().instance).Typeset.apply(_getGlobal$instance3, (0, _toConsumableArray2["default"])(arr));
70010
70019
  }
70011
70020
  };
@@ -78976,7 +78985,10 @@ getDefaultExportFromCjs(mathRendering);
78976
78985
  return ((_window = window) === null || _window === void 0 ? void 0 : (_window$MathJax = _window.MathJax) === null || _window$MathJax === void 0 ? void 0 : _window$MathJax.customKey) || ((_window2 = window) === null || _window2 === void 0 ? void 0 : (_window2$MathJax = _window2.MathJax) === null || _window2$MathJax === void 0 ? void 0 : (_window2$MathJax$conf = _window2$MathJax.config) === null || _window2$MathJax$conf === void 0 ? void 0 : _window2$MathJax$conf.customKey);
78977
78986
  };
78978
78987
  var renderMath = function renderMath(el, renderOpts) {
78988
+ console.log("I'm in math rendering accessible");
78979
78989
  var isString = typeof el === 'string';
78990
+ console.log('IS STRING', isString);
78991
+ console.log('renderOpts', renderOpts);
78980
78992
  var executeOn = document.body;
78981
78993
  if (isString) {
78982
78994
  var div = document.createElement('div');
@@ -78984,16 +78996,19 @@ getDefaultExportFromCjs(mathRendering);
78984
78996
  executeOn = div;
78985
78997
  }
78986
78998
  var _ref = renderOpts || ({}), skipWaitForMathRenderingLib = _ref.skipWaitForMathRenderingLib;
78999
+ console.log(skipWaitForMathRenderingLib, 'skipWaitForMathRenderingLib');
78987
79000
  var renderMathAccessible = function renderMathAccessible() {
78988
79001
  fixMathElements(executeOn);
78989
79002
  adjustMathMLStyle(executeOn);
78990
79003
  var mathJaxCustomKey = getMathJaxCustomKey();
78991
79004
  if (!window.MathJax && !window.mathjaxLoadedP || mathJaxCustomKey && mathJaxCustomKey !== mathRenderingAccessibleKEY) {
79005
+ console.log('INITIALIZE MATHJAX ACCESSIBLE');
78992
79006
  renderOpts = renderOpts || defaultOpts();
78993
79007
  (0, _mathjaxScript.initializeMathJax)(renderOpts);
78994
79008
  }
78995
79009
  if (isString && window.MathJax && window.mathjaxLoadedP) {
78996
79010
  try {
79011
+ console.log('THE ISSUE MUST BE HERE');
78997
79012
  MathJax.texReset();
78998
79013
  MathJax.typesetClear();
78999
79014
  window.MathJax.typeset([executeOn]);
@@ -79002,6 +79017,7 @@ getDefaultExportFromCjs(mathRendering);
79002
79017
  var item = list.next;
79003
79018
  var mathMl = toMMl(item.data.root);
79004
79019
  var parsedMathMl = mathMl.replaceAll('\n', '');
79020
+ console.log(parsedMathMl, 'parsedMathMl');
79005
79021
  return parsedMathMl;
79006
79022
  } catch (error) {
79007
79023
  console.error('Error rendering math:', error.message);
@@ -79010,11 +79026,13 @@ getDefaultExportFromCjs(mathRendering);
79010
79026
  if (window.mathjaxLoadedP) {
79011
79027
  window.mathjaxLoadedP.then(function () {
79012
79028
  var mathJaxInstance = getGlobal().instance;
79029
+ console.log(mathJaxInstance, 'mathJaxInstance');
79013
79030
  if (mathJaxInstance) {
79014
79031
  mathJaxInstance.texReset();
79015
79032
  mathJaxInstance.typesetClear();
79016
79033
  mathJaxInstance.typesetPromise([executeOn]).then(function () {
79017
79034
  try {
79035
+ console.log("I'm in typesetPromise???");
79018
79036
  removeExcessMjxContainers(executeOn);
79019
79037
  removePlaceholdersAndRestoreDisplay();
79020
79038
  var _updatedDocument = mathJaxInstance.startup.document;
@@ -79038,13 +79056,16 @@ getDefaultExportFromCjs(mathRendering);
79038
79056
  }
79039
79057
  };
79040
79058
  if (skipWaitForMathRenderingLib) {
79059
+ console.log(skipWaitForMathRenderingLib, 'skipWaitForMathRenderingLib');
79041
79060
  return renderMathAccessible();
79042
79061
  } else {
79043
79062
  if (window.hasOwnProperty(mathRenderingKEY) && window[mathRenderingKEY].instance) {
79063
+ console.log(mathRenderingKEY, 'mathRenderingKEY');
79044
79064
  removePlaceholdersAndRestoreDisplay();
79045
79065
  return mr.renderMath();
79046
79066
  }
79047
79067
  if (window.hasOwnProperty(mathRenderingAccessibleKEY) && window[mathRenderingAccessibleKEY].instance) {
79068
+ console.log(mathRenderingAccessibleKEY, 'mathRenderingAccessibleKEY');
79048
79069
  return renderMathAccessible();
79049
79070
  }
79050
79071
  var waitForMathRenderingLib = function waitForMathRenderingLib(renderMathAccessibleCallback) {
@@ -79059,6 +79080,7 @@ getDefaultExportFromCjs(mathRendering);
79059
79080
  if (mathRenderingHasLoaded || hasExceededMaxWait) {
79060
79081
  clearInterval(checkIntervalId);
79061
79082
  if (mathRenderingHasLoaded) {
79083
+ console.log(mathRenderingHasLoaded, 'mathRenderingHasLoaded');
79062
79084
  removePlaceholdersAndRestoreDisplay();
79063
79085
  return mr.renderMath();
79064
79086
  }
@@ -79067,6 +79089,7 @@ getDefaultExportFromCjs(mathRendering);
79067
79089
  };
79068
79090
  checkIntervalId = setInterval(checkForLib, 100);
79069
79091
  };
79092
+ console.log('waitForMathRenderingLib');
79070
79093
  waitForMathRenderingLib(renderMathAccessible);
79071
79094
  }
79072
79095
  };
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "repository": "pie-framework/pie-elements",
7
- "version": "6.12.2",
7
+ "version": "6.12.3",
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": "1.17.1",
15
+ "@pie-lib/pie-toolbox": "1.17.2",
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": "e36060353a9a0203a362c8f42780002a072cebdb",
24
+ "gitHead": "d5a79b236159c8fb46c6e40d346788cdd2b4363d",
25
25
  "main": "lib/index.js",
26
26
  "module": "src/index.js",
27
27
  "exports": {