@carbonorm/carbonreact 3.3.12 → 3.3.13
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/dist/index.cjs.js
CHANGED
|
@@ -1392,7 +1392,7 @@ function hexToRgb (hex) {
|
|
|
1392
1392
|
|
|
1393
1393
|
var styles = {"maintenance-hero":"C5KSPNF","maintenanceHero":"C5KSPNF","httpStatusCode":"NhyRQts","centeredContainer":"nA4Uno6","errorTextGeneral":"yJAgaUs","errorKeys":"SRIoY4m","error-values":"xQIsoNw","errorValues":"xQIsoNw","error-pre":"C6eWpJ3","errorPre":"C6eWpJ3","line-number":"NFRyo7M","lineNumber":"NFRyo7M","cl":"vR2jbfr","slide":"OO2C-Wp"};
|
|
1394
1394
|
|
|
1395
|
-
|
|
1395
|
+
var BackendThrowable = () => {
|
|
1396
1396
|
const bootstrap = CarbonReact.instance;
|
|
1397
1397
|
const currentThrowable = bootstrap.state.backendThrowable[0];
|
|
1398
1398
|
console.log([bootstrap.state.backendThrowable, currentThrowable]);
|
|
@@ -1404,10 +1404,9 @@ function BackendThrowable() {
|
|
|
1404
1404
|
jsxRuntime_2("i", { className: styles.errorValues, children: ["\"", currentThrowable[key], "\""] }))
|
|
1405
1405
|
: ''] }), valueIsString
|
|
1406
1406
|
? ''
|
|
1407
|
-
:
|
|
1408
|
-
jsxRuntime_1("pre", { className: styles.errorPre, children: JSON.stringify(currentThrowable[key], undefined, 4) })] }, index);
|
|
1407
|
+
: jsxRuntime_1("pre", { className: styles.errorPre, children: JSON.stringify(currentThrowable[key], undefined, 4) })] }, index);
|
|
1409
1408
|
}) }) })] });
|
|
1410
|
-
}
|
|
1409
|
+
};
|
|
1411
1410
|
|
|
1412
1411
|
const range = n => new Array(n).fill(0).map((_, idx) => idx);
|
|
1413
1412
|
// @link https://sites.google.com/site/webglbook/home/chapter-3
|