You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

7 lines
332 B

if (typeof Object.prototype.__defineGetter__ === 'undefined') {
Object.defineProperty(Object.prototype, '__defineGetter__', {
value: function (n, f) {
Object.defineProperty(this, n, { enumerable: true, configurable: true, get: f });
}, writable: true, enumerable: false, configurable: true
});
}