@azrico/webobject 1.4.107 → 1.4.108

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.
@@ -1013,14 +1013,11 @@ var WebObject = /*#__PURE__*/function (_SimpleObject, _setMetaValue, _Save, _Del
1013
1013
  });
1014
1014
  case 7:
1015
1015
  result_items = _context18.sent;
1016
- selftype = Object.getPrototypeOf(this);
1017
- console.log("get_webname", this.get_webname());
1018
- console.log("selftype", selftype);
1019
- console.log("constructor", this.constructor);
1016
+ selftype = this.constructor || Object.getPrototypeOf(this);
1020
1017
  res = WebObject.map_rowindex(WebObject.mapto(selftype, result_items, readonly));
1021
1018
  WebObject.setReadonly(res, readonly);
1022
1019
  return _context18.abrupt("return", res);
1023
- case 15:
1020
+ case 12:
1024
1021
  case "end":
1025
1022
  return _context18.stop();
1026
1023
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@azrico/webobject",
3
- "version": "1.4.107",
3
+ "version": "1.4.108",
4
4
  "description": "Stateful object",
5
5
  "author": "Azrideus",
6
6
  "license": "MIT",