pushinka
Version:
Pushinka: Transactional, Reactive, and Asynchronous State Management
20 lines • 688 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var Utils_1 = require("./Utils");
var XHandle = (function () {
function XHandle(proxy, hooks, head, self) {
this.id = ++XHandle.id;
this.type = self.constructor.name;
this.proxy = proxy || new Proxy(this, hooks);
this.proto = Object.getPrototypeOf(self);
this.decorators = Utils_1.Utils.decorationOf(this.proto) || {};
this.stateless = {};
this.head = head;
this.editing = undefined;
this.editors = 0;
}
XHandle.id = 10;
return XHandle;
}());
exports.XHandle = XHandle;
//# sourceMappingURL=Handle.js.map