chayns-api 2.1.12 → 2.1.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.
|
@@ -609,9 +609,12 @@ class AppWrapper {
|
|
|
609
609
|
callback: ({
|
|
610
610
|
colorMode
|
|
611
611
|
}) => {
|
|
612
|
-
this.values
|
|
613
|
-
...this.values
|
|
614
|
-
|
|
612
|
+
this.values = {
|
|
613
|
+
...this.values,
|
|
614
|
+
site: {
|
|
615
|
+
...this.values.site,
|
|
616
|
+
colorMode
|
|
617
|
+
}
|
|
615
618
|
};
|
|
616
619
|
document.dispatchEvent(new CustomEvent('chayns_api_data', {
|
|
617
620
|
detail: {
|
|
@@ -620,9 +620,12 @@ export class AppWrapper {
|
|
|
620
620
|
let {
|
|
621
621
|
colorMode
|
|
622
622
|
} = _ref3;
|
|
623
|
-
this.values
|
|
624
|
-
...this.values
|
|
625
|
-
|
|
623
|
+
this.values = {
|
|
624
|
+
...this.values,
|
|
625
|
+
site: {
|
|
626
|
+
...this.values.site,
|
|
627
|
+
colorMode
|
|
628
|
+
}
|
|
626
629
|
};
|
|
627
630
|
document.dispatchEvent(new CustomEvent('chayns_api_data', {
|
|
628
631
|
detail: {
|