@pie-element/complex-rubric 3.1.3-next.29 → 3.1.3-next.35
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/controller/package.json +1 -1
- package/module/configure.js +11 -2
- package/module/element.js +11 -2
- package/module/print.js +11 -2
- package/package.json +4 -4
package/controller/package.json
CHANGED
package/module/configure.js
CHANGED
|
@@ -49168,6 +49168,15 @@ TexError$1.default = TexError;
|
|
|
49168
49168
|
}
|
|
49169
49169
|
});
|
|
49170
49170
|
};
|
|
49171
|
+
var renderContentsWithMathJax = function renderContentsWithMathJax(el) {
|
|
49172
|
+
if (el instanceof Array) {
|
|
49173
|
+
el.forEach(function (elNode) {
|
|
49174
|
+
return renderContentWithMathJax(elNode);
|
|
49175
|
+
});
|
|
49176
|
+
} else {
|
|
49177
|
+
renderContentWithMathJax(el);
|
|
49178
|
+
}
|
|
49179
|
+
};
|
|
49171
49180
|
var renderContentWithMathJax = function renderContentWithMathJax(executeOn) {
|
|
49172
49181
|
executeOn = executeOn || document.body;
|
|
49173
49182
|
if (!(executeOn instanceof HTMLElement)) return;
|
|
@@ -49365,11 +49374,11 @@ TexError$1.default = TexError;
|
|
|
49365
49374
|
var executeOn = document.body;
|
|
49366
49375
|
if (!usedForMmlOutput) {
|
|
49367
49376
|
if (window.mathjaxLoadedComplete) {
|
|
49368
|
-
|
|
49377
|
+
renderContentsWithMathJax(el);
|
|
49369
49378
|
} else if (window.mathjaxLoadedP) {
|
|
49370
49379
|
window.mathjaxLoadedP.then(function () {
|
|
49371
49380
|
window.mathjaxLoadedComplete = true;
|
|
49372
|
-
|
|
49381
|
+
renderContentsWithMathJax(el);
|
|
49373
49382
|
})["catch"](function (error) {
|
|
49374
49383
|
return console.error("Error in initializing MathJax:", error);
|
|
49375
49384
|
});
|
package/module/element.js
CHANGED
|
@@ -72454,6 +72454,15 @@ TexError$1.default = TexError;
|
|
|
72454
72454
|
}
|
|
72455
72455
|
});
|
|
72456
72456
|
};
|
|
72457
|
+
var renderContentsWithMathJax = function renderContentsWithMathJax(el) {
|
|
72458
|
+
if (el instanceof Array) {
|
|
72459
|
+
el.forEach(function (elNode) {
|
|
72460
|
+
return renderContentWithMathJax(elNode);
|
|
72461
|
+
});
|
|
72462
|
+
} else {
|
|
72463
|
+
renderContentWithMathJax(el);
|
|
72464
|
+
}
|
|
72465
|
+
};
|
|
72457
72466
|
var renderContentWithMathJax = function renderContentWithMathJax(executeOn) {
|
|
72458
72467
|
executeOn = executeOn || document.body;
|
|
72459
72468
|
if (!(executeOn instanceof HTMLElement)) return;
|
|
@@ -72651,11 +72660,11 @@ TexError$1.default = TexError;
|
|
|
72651
72660
|
var executeOn = document.body;
|
|
72652
72661
|
if (!usedForMmlOutput) {
|
|
72653
72662
|
if (window.mathjaxLoadedComplete) {
|
|
72654
|
-
|
|
72663
|
+
renderContentsWithMathJax(el);
|
|
72655
72664
|
} else if (window.mathjaxLoadedP) {
|
|
72656
72665
|
window.mathjaxLoadedP.then(function () {
|
|
72657
72666
|
window.mathjaxLoadedComplete = true;
|
|
72658
|
-
|
|
72667
|
+
renderContentsWithMathJax(el);
|
|
72659
72668
|
})["catch"](function (error) {
|
|
72660
72669
|
return console.error("Error in initializing MathJax:", error);
|
|
72661
72670
|
});
|
package/module/print.js
CHANGED
|
@@ -72454,6 +72454,15 @@ TexError$1.default = TexError;
|
|
|
72454
72454
|
}
|
|
72455
72455
|
});
|
|
72456
72456
|
};
|
|
72457
|
+
var renderContentsWithMathJax = function renderContentsWithMathJax(el) {
|
|
72458
|
+
if (el instanceof Array) {
|
|
72459
|
+
el.forEach(function (elNode) {
|
|
72460
|
+
return renderContentWithMathJax(elNode);
|
|
72461
|
+
});
|
|
72462
|
+
} else {
|
|
72463
|
+
renderContentWithMathJax(el);
|
|
72464
|
+
}
|
|
72465
|
+
};
|
|
72457
72466
|
var renderContentWithMathJax = function renderContentWithMathJax(executeOn) {
|
|
72458
72467
|
executeOn = executeOn || document.body;
|
|
72459
72468
|
if (!(executeOn instanceof HTMLElement)) return;
|
|
@@ -72651,11 +72660,11 @@ TexError$1.default = TexError;
|
|
|
72651
72660
|
var executeOn = document.body;
|
|
72652
72661
|
if (!usedForMmlOutput) {
|
|
72653
72662
|
if (window.mathjaxLoadedComplete) {
|
|
72654
|
-
|
|
72663
|
+
renderContentsWithMathJax(el);
|
|
72655
72664
|
} else if (window.mathjaxLoadedP) {
|
|
72656
72665
|
window.mathjaxLoadedP.then(function () {
|
|
72657
72666
|
window.mathjaxLoadedComplete = true;
|
|
72658
|
-
|
|
72667
|
+
renderContentsWithMathJax(el);
|
|
72659
72668
|
})["catch"](function (error) {
|
|
72660
72669
|
return console.error("Error in initializing MathJax:", error);
|
|
72661
72670
|
});
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/complex-rubric",
|
|
3
3
|
"repository": "pie-framework/pie-elements",
|
|
4
|
-
"version": "3.1.3-next.
|
|
4
|
+
"version": "3.1.3-next.35+6b68a7880",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@material-ui/core": "^3.9.2",
|
|
10
|
-
"@pie-element/multi-trait-rubric": "^4.1.3-next.
|
|
11
|
-
"@pie-element/rubric": "^4.1.3-next.
|
|
10
|
+
"@pie-element/multi-trait-rubric": "^4.1.3-next.35+6b68a7880",
|
|
11
|
+
"@pie-element/rubric": "^4.1.3-next.35+6b68a7880",
|
|
12
12
|
"@pie-framework/pie-player-events": "^0.1.0",
|
|
13
13
|
"classnames": "^2.2.5",
|
|
14
14
|
"debug": "^4.1.1",
|
|
15
15
|
"lodash": "^4.17.11",
|
|
16
16
|
"prop-types": "^15.7.2"
|
|
17
17
|
},
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "6b68a7880050f8c071db1d01e9c215914e95a6aa",
|
|
19
19
|
"scripts": {
|
|
20
20
|
"postpublish": "../../scripts/postpublish"
|
|
21
21
|
},
|