elegance-js 2.0.16 → 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.
@@ -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "elegance-js",
3
- "version": "2.0.16",
3
+ "version": "2.0.17",
4
4
  "description": "Web-Framework",
5
5
  "type": "module",
6
6
  "bin": {