chayns-api 1.0.77 → 1.0.78
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.
|
@@ -596,11 +596,14 @@ class AppWrapper {
|
|
|
596
596
|
callback: ({
|
|
597
597
|
colorMode
|
|
598
598
|
}) => {
|
|
599
|
-
|
|
599
|
+
const site = {
|
|
600
|
+
...this.values.site,
|
|
601
|
+
colorMode
|
|
602
|
+
};
|
|
600
603
|
document.dispatchEvent(new CustomEvent('chayns_api_data', {
|
|
601
604
|
detail: {
|
|
602
605
|
type: 'site',
|
|
603
|
-
value:
|
|
606
|
+
value: site
|
|
604
607
|
}
|
|
605
608
|
}));
|
|
606
609
|
},
|
|
@@ -595,11 +595,14 @@ export class AppWrapper {
|
|
|
595
595
|
let {
|
|
596
596
|
colorMode
|
|
597
597
|
} = _ref2;
|
|
598
|
-
|
|
598
|
+
const site = {
|
|
599
|
+
...this.values.site,
|
|
600
|
+
colorMode
|
|
601
|
+
};
|
|
599
602
|
document.dispatchEvent(new CustomEvent('chayns_api_data', {
|
|
600
603
|
detail: {
|
|
601
604
|
type: 'site',
|
|
602
|
-
value:
|
|
605
|
+
value: site
|
|
603
606
|
}
|
|
604
607
|
}));
|
|
605
608
|
},
|