@pie-element/explicit-constructed-response 6.22.5-next.45 → 6.22.5-next.46
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/configure/package.json +1 -1
- package/controller/package.json +1 -1
- package/module/element.js +6 -4
- package/module/print.js +6 -4
- package/package.json +3 -3
package/configure/package.json
CHANGED
|
@@ -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.31.5-next.
|
|
11
|
+
"@pie-lib/pie-toolbox": "1.31.5-next.1",
|
|
12
12
|
"classnames": "^2.2.6",
|
|
13
13
|
"debug": "^3.1.0",
|
|
14
14
|
"lodash": "^4.17.15",
|
package/controller/package.json
CHANGED
package/module/element.js
CHANGED
|
@@ -19179,7 +19179,9 @@ var initializeMathJax = function initializeMathJax(renderOpts, callback) {
|
|
|
19179
19179
|
},
|
|
19180
19180
|
displayMath: [['$$', '$$'], ['\\[', '\\]']]
|
|
19181
19181
|
};
|
|
19182
|
-
window.
|
|
19182
|
+
window.mathjaxLoadedP = new Promise(function (resolve) {
|
|
19183
|
+
resolve();
|
|
19184
|
+
});
|
|
19183
19185
|
window.MathJax = {
|
|
19184
19186
|
startup: {
|
|
19185
19187
|
typeset: false,
|
|
@@ -79083,11 +79085,11 @@ getDefaultExportFromCjs(mathRendering);
|
|
|
79083
79085
|
});
|
|
79084
79086
|
}
|
|
79085
79087
|
};
|
|
79086
|
-
if ((!window.MathJax || window.MathJax.version !== _mathjaxScript.MathJaxVersion) && !window.
|
|
79088
|
+
if ((!window.MathJax || window.MathJax.version !== _mathjaxScript.MathJaxVersion) && !window.mathjaxLoadedP || mathJaxCustomKey && mathJaxCustomKey !== mathRenderingAccessibleKEY) {
|
|
79087
79089
|
renderOpts = renderOpts || defaultOpts();
|
|
79088
79090
|
(0, _mathjaxScript.initializeMathJax)(renderOpts, workingWithMathJax);
|
|
79089
79091
|
}
|
|
79090
|
-
if (isString && window.MathJax && window.
|
|
79092
|
+
if (isString && window.MathJax && window.mathjaxLoadedP) {
|
|
79091
79093
|
try {
|
|
79092
79094
|
MathJax.texReset();
|
|
79093
79095
|
MathJax.typesetClear();
|
|
@@ -79102,7 +79104,7 @@ getDefaultExportFromCjs(mathRendering);
|
|
|
79102
79104
|
console.error('Error rendering math:', error.message);
|
|
79103
79105
|
}
|
|
79104
79106
|
}
|
|
79105
|
-
if (window.
|
|
79107
|
+
if (window.mathjaxLoadedP) {
|
|
79106
79108
|
workingWithMathJax();
|
|
79107
79109
|
}
|
|
79108
79110
|
};
|
package/module/print.js
CHANGED
|
@@ -19142,7 +19142,9 @@ var initializeMathJax = function initializeMathJax(renderOpts, callback) {
|
|
|
19142
19142
|
},
|
|
19143
19143
|
displayMath: [['$$', '$$'], ['\\[', '\\]']]
|
|
19144
19144
|
};
|
|
19145
|
-
window.
|
|
19145
|
+
window.mathjaxLoadedP = new Promise(function (resolve) {
|
|
19146
|
+
resolve();
|
|
19147
|
+
});
|
|
19146
19148
|
window.MathJax = {
|
|
19147
19149
|
startup: {
|
|
19148
19150
|
typeset: false,
|
|
@@ -79046,11 +79048,11 @@ getDefaultExportFromCjs(mathRendering);
|
|
|
79046
79048
|
});
|
|
79047
79049
|
}
|
|
79048
79050
|
};
|
|
79049
|
-
if ((!window.MathJax || window.MathJax.version !== _mathjaxScript.MathJaxVersion) && !window.
|
|
79051
|
+
if ((!window.MathJax || window.MathJax.version !== _mathjaxScript.MathJaxVersion) && !window.mathjaxLoadedP || mathJaxCustomKey && mathJaxCustomKey !== mathRenderingAccessibleKEY) {
|
|
79050
79052
|
renderOpts = renderOpts || defaultOpts();
|
|
79051
79053
|
(0, _mathjaxScript.initializeMathJax)(renderOpts, workingWithMathJax);
|
|
79052
79054
|
}
|
|
79053
|
-
if (isString && window.MathJax && window.
|
|
79055
|
+
if (isString && window.MathJax && window.mathjaxLoadedP) {
|
|
79054
79056
|
try {
|
|
79055
79057
|
MathJax.texReset();
|
|
79056
79058
|
MathJax.typesetClear();
|
|
@@ -79065,7 +79067,7 @@ getDefaultExportFromCjs(mathRendering);
|
|
|
79065
79067
|
console.error('Error rendering math:', error.message);
|
|
79066
79068
|
}
|
|
79067
79069
|
}
|
|
79068
|
-
if (window.
|
|
79070
|
+
if (window.mathjaxLoadedP) {
|
|
79069
79071
|
workingWithMathJax();
|
|
79070
79072
|
}
|
|
79071
79073
|
};
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"access": "public"
|
|
5
5
|
},
|
|
6
6
|
"repository": "pie-framework/pie-elements",
|
|
7
|
-
"version": "6.22.5-next.
|
|
7
|
+
"version": "6.22.5-next.46+d62f2b452",
|
|
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.31.5-next.
|
|
15
|
+
"@pie-lib/pie-toolbox": "1.31.5-next.1",
|
|
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": "
|
|
24
|
+
"gitHead": "d62f2b4526eeda1f90d3660d97bf278ac1ae72da",
|
|
25
25
|
"main": "lib/index.js",
|
|
26
26
|
"module": "src/index.js",
|
|
27
27
|
"exports": {
|