@pie-element/complex-rubric 3.0.1-next.1 → 3.0.1-next.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.
@@ -7,7 +7,7 @@
7
7
  "test": "echo \"Error: no test specified\" && exit 1"
8
8
  },
9
9
  "dependencies": {
10
- "@pie-lib/pie-toolbox": "2.0.4",
10
+ "@pie-lib/pie-toolbox": "2.0.6",
11
11
  "lodash": "^4.17.15"
12
12
  },
13
13
  "author": "",
@@ -1,6 +1,6 @@
1
- import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@2.0.2/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_classnames, _dll_react_dom, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@2.0.4/module/index.js";
2
2
  import RubricConfigure from '@pie-element/rubric/configure/lib';
3
- import {_dll_pie_lib__pie_toolbox_editable_html, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_config_ui} from "../../../@pie-lib/pie-toolbox-module@5.0.2/module/index.js";
3
+ import {_dll_pie_lib__pie_toolbox_editable_html, _dll_pie_lib__pie_toolbox_render_ui, _dll_pie_lib__pie_toolbox_config_ui} from "../../../@pie-lib/pie-toolbox-module@5.0.3/module/index.js";
4
4
  function _mergeNamespaces(n, m) {
5
5
  m.forEach(function (e) {
6
6
  e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
@@ -49126,6 +49126,9 @@ getDefaultExportFromCjs(SerializedMmlVisitor);
49126
49126
  }
49127
49127
  };
49128
49128
  var initializeMathJax = function initializeMathJax(callback) {
49129
+ if (window.mathjaxLoadedP) {
49130
+ return;
49131
+ }
49129
49132
  var texConfig = {
49130
49133
  macros: {
49131
49134
  parallelogram: "\\lower.2em{\\Huge\\unicode{x25B1}}",
@@ -49190,7 +49193,7 @@ getDefaultExportFromCjs(SerializedMmlVisitor);
49190
49193
  script.type = "text/javascript";
49191
49194
  script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
49192
49195
  script.async = true;
49193
- document.body.appendChild(script);
49196
+ document.head.appendChild(script);
49194
49197
  });
49195
49198
  };
49196
49199
  exports.initializeMathJax = initializeMathJax;
package/module/element.js CHANGED
@@ -1,5 +1,5 @@
1
- import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@2.0.2/module/index.js";
2
- import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@5.0.2/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@2.0.4/module/index.js";
2
+ import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@5.0.3/module/index.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
5
5
  e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
@@ -72406,6 +72406,9 @@ getDefaultExportFromCjs(SerializedMmlVisitor);
72406
72406
  }
72407
72407
  };
72408
72408
  var initializeMathJax = function initializeMathJax(callback) {
72409
+ if (window.mathjaxLoadedP) {
72410
+ return;
72411
+ }
72409
72412
  var texConfig = {
72410
72413
  macros: {
72411
72414
  parallelogram: "\\lower.2em{\\Huge\\unicode{x25B1}}",
@@ -72470,7 +72473,7 @@ getDefaultExportFromCjs(SerializedMmlVisitor);
72470
72473
  script.type = "text/javascript";
72471
72474
  script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
72472
72475
  script.async = true;
72473
- document.body.appendChild(script);
72476
+ document.head.appendChild(script);
72474
72477
  });
72475
72478
  };
72476
72479
  exports.initializeMathJax = initializeMathJax;
@@ -4,11 +4,11 @@
4
4
  "modules": [
5
5
  {
6
6
  "name": "@pie-lib/pie-toolbox-math-rendering-module",
7
- "version": "2.0.2"
7
+ "version": "2.0.4"
8
8
  },
9
9
  {
10
10
  "name": "@pie-lib/pie-toolbox-module",
11
- "version": "5.0.2"
11
+ "version": "5.0.3"
12
12
  }
13
13
  ]
14
14
  }
package/module/print.js CHANGED
@@ -1,5 +1,5 @@
1
- import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@2.0.2/module/index.js";
2
- import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@5.0.2/module/index.js";
1
+ import {_dll_react, _dll_prop_types, _dll_react_dom, _dll_classnames, _dll_debug, _dll_lodash, _dll_react_dom_server, _dll_pie_framework__mathquill} from "../../../@pie-lib/pie-toolbox-math-rendering-module@2.0.4/module/index.js";
2
+ import {_dll_pie_lib__pie_toolbox_render_ui} from "../../../@pie-lib/pie-toolbox-module@5.0.3/module/index.js";
3
3
  function _mergeNamespaces(n, m) {
4
4
  m.forEach(function (e) {
5
5
  e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {
@@ -72406,6 +72406,9 @@ getDefaultExportFromCjs(SerializedMmlVisitor);
72406
72406
  }
72407
72407
  };
72408
72408
  var initializeMathJax = function initializeMathJax(callback) {
72409
+ if (window.mathjaxLoadedP) {
72410
+ return;
72411
+ }
72409
72412
  var texConfig = {
72410
72413
  macros: {
72411
72414
  parallelogram: "\\lower.2em{\\Huge\\unicode{x25B1}}",
@@ -72470,7 +72473,7 @@ getDefaultExportFromCjs(SerializedMmlVisitor);
72470
72473
  script.type = "text/javascript";
72471
72474
  script.src = ("https://cdn.jsdelivr.net/npm/mathjax@").concat(MathJaxVersion, "/es5/tex-chtml-full.js");
72472
72475
  script.async = true;
72473
- document.body.appendChild(script);
72476
+ document.head.appendChild(script);
72474
72477
  });
72475
72478
  };
72476
72479
  exports.initializeMathJax = initializeMathJax;
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.0.1-next.1+a3dd8d65a",
4
+ "version": "3.0.1-next.3+321147b40",
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.0.1-next.1+a3dd8d65a",
11
- "@pie-element/rubric": "^4.0.1-next.1+a3dd8d65a",
10
+ "@pie-element/multi-trait-rubric": "^4.0.1-next.3+321147b40",
11
+ "@pie-element/rubric": "^4.0.1-next.3+321147b40",
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": "a3dd8d65a754acadd95134ee825b769355a08a45",
18
+ "gitHead": "321147b4072f2a6200d155f7f09c712960fe078c",
19
19
  "scripts": {
20
20
  "postpublish": "../../scripts/postpublish"
21
21
  },