@weaverse/core 0.5.11 → 0.5.12
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.js +0 -3
- package/dist/index.mjs +0 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -127,7 +127,6 @@ var _Weaverse = class {
|
|
|
127
127
|
this.projectKey = projectKey || this.projectKey;
|
|
128
128
|
this.mediaBreakPoints = mediaBreakPoints || this.mediaBreakPoints;
|
|
129
129
|
this.isDesignMode = isDesignMode || this.isDesignMode;
|
|
130
|
-
console.log("set design mode", this.isDesignMode);
|
|
131
130
|
projectData && (this.projectData = projectData);
|
|
132
131
|
this.init();
|
|
133
132
|
}
|
|
@@ -145,11 +144,9 @@ var _Weaverse = class {
|
|
|
145
144
|
this.initProjectItemData();
|
|
146
145
|
}
|
|
147
146
|
loadStudio() {
|
|
148
|
-
console.log("this.isDesignMode", this.isDesignMode);
|
|
149
147
|
if (this.isDesignMode && isIframe) {
|
|
150
148
|
let initStudio = () => {
|
|
151
149
|
this.studioBridge = new window.WeaverseStudioBridge(this);
|
|
152
|
-
this.studioBridge.subscribeMessageEvent();
|
|
153
150
|
this.triggerUpdate();
|
|
154
151
|
};
|
|
155
152
|
if (!window.WeaverseStudioBridge) {
|
package/dist/index.mjs
CHANGED
|
@@ -98,7 +98,6 @@ var _Weaverse = class {
|
|
|
98
98
|
this.projectKey = projectKey || this.projectKey;
|
|
99
99
|
this.mediaBreakPoints = mediaBreakPoints || this.mediaBreakPoints;
|
|
100
100
|
this.isDesignMode = isDesignMode || this.isDesignMode;
|
|
101
|
-
console.log("set design mode", this.isDesignMode);
|
|
102
101
|
projectData && (this.projectData = projectData);
|
|
103
102
|
this.init();
|
|
104
103
|
}
|
|
@@ -116,11 +115,9 @@ var _Weaverse = class {
|
|
|
116
115
|
this.initProjectItemData();
|
|
117
116
|
}
|
|
118
117
|
loadStudio() {
|
|
119
|
-
console.log("this.isDesignMode", this.isDesignMode);
|
|
120
118
|
if (this.isDesignMode && isIframe) {
|
|
121
119
|
let initStudio = () => {
|
|
122
120
|
this.studioBridge = new window.WeaverseStudioBridge(this);
|
|
123
|
-
this.studioBridge.subscribeMessageEvent();
|
|
124
121
|
this.triggerUpdate();
|
|
125
122
|
};
|
|
126
123
|
if (!window.WeaverseStudioBridge) {
|
package/package.json
CHANGED