elegance-js 2.0.15 → 2.0.17
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/client/client.mjs +1 -1
- package/dist/page_compiler.mjs +1 -1
- package/package.json +1 -1
package/dist/client/client.mjs
CHANGED
|
@@ -244,7 +244,7 @@ var initPageData = (data, currentPage2, previousPage, bindLevel) => {
|
|
|
244
244
|
data.stateManager = state;
|
|
245
245
|
}
|
|
246
246
|
for (const subject of state.subjects) {
|
|
247
|
-
subject.observers = /* @__PURE__ */ new Map();
|
|
247
|
+
if (!subject.observers) subject.observers = /* @__PURE__ */ new Map();
|
|
248
248
|
}
|
|
249
249
|
for (const ooa of data.ooa || []) {
|
|
250
250
|
const els = doc.querySelectorAll(`[key="${ooa.key}"]`);
|
package/dist/page_compiler.mjs
CHANGED
|
@@ -714,7 +714,7 @@ var buildLayouts = async () => {
|
|
|
714
714
|
}
|
|
715
715
|
try {
|
|
716
716
|
const builtLayout = await buildLayout(filePath, directory);
|
|
717
|
-
builtLayouts.set(
|
|
717
|
+
builtLayouts.set(filePath, builtLayout);
|
|
718
718
|
} catch (e) {
|
|
719
719
|
console.error(e);
|
|
720
720
|
continue;
|