Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Object.prototype.addProperty("super", function ()
- {
- if (this.$isInSuperChain)
- {
- var p = new Object(this.__constructor__);
- p.__proto__ = this.__proto__.__proto__;
- }
- else
- {
- var p = new Object(this.__proto__.__proto__.__constructor__);
- p.__proto__ = this.__proto__.__proto__.__proto__;
- }
- p.$isInSuperChain = true;
- return p;
- }, null);
- ASSetPropFlags(Object.prototype, "super", 7);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement