@doenet/doenetml-iframe 0.7.0-rc-7 → 0.7.0-rc-8
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/index.js +3 -1
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -18090,6 +18090,7 @@ function normalize_negative_numbers$1(e2) {
|
|
|
18090
18090
|
if ("-" === r && 1 === n.length) {
|
|
18091
18091
|
if ("number" == typeof n[0] && n[0] >= 0) return -n[0];
|
|
18092
18092
|
if (Array.isArray(n[0]) && "*" === n[0][0] && "number" == typeof n[0][1] && n[0][1] >= 0) return ["*", -n[0][1], ...n[0].slice(2).map(normalize_negative_numbers$1)];
|
|
18093
|
+
if (Array.isArray(n[0][1]) && "/" === n[0][1][0] && 3 === n[0][1].length && "number" == typeof n[0][1][1] && n[0][1][1] >= 0) return ["*", ["/", -1 * n[0][1][1], n[0][1][2]], ...n[0].slice(2).map(normalize_negative_numbers$1)];
|
|
18093
18094
|
}
|
|
18094
18095
|
return [r, ...n.map(normalize_negative_numbers$1)];
|
|
18095
18096
|
}
|
|
@@ -64951,6 +64952,7 @@ function normalize_negative_numbers(e2) {
|
|
|
64951
64952
|
if ("-" === r && 1 === n.length) {
|
|
64952
64953
|
if ("number" == typeof n[0] && n[0] >= 0) return -n[0];
|
|
64953
64954
|
if (Array.isArray(n[0]) && "*" === n[0][0] && "number" == typeof n[0][1] && n[0][1] >= 0) return ["*", -n[0][1], ...n[0].slice(2).map(normalize_negative_numbers)];
|
|
64955
|
+
if (Array.isArray(n[0][1]) && "/" === n[0][1][0] && 3 === n[0][1].length && "number" == typeof n[0][1][1] && n[0][1][1] >= 0) return ["*", ["/", -1 * n[0][1][1], n[0][1][2]], ...n[0].slice(2).map(normalize_negative_numbers)];
|
|
64954
64956
|
}
|
|
64955
64957
|
return [r, ...n.map(normalize_negative_numbers)];
|
|
64956
64958
|
}
|
|
@@ -70749,7 +70751,7 @@ function ExternalVirtualKeyboard() {
|
|
|
70749
70751
|
}
|
|
70750
70752
|
);
|
|
70751
70753
|
}
|
|
70752
|
-
const version = "0.7.0-rc-
|
|
70754
|
+
const version = "0.7.0-rc-8";
|
|
70753
70755
|
const latestDoenetmlVersion = version;
|
|
70754
70756
|
function DoenetViewer({
|
|
70755
70757
|
doenetML,
|