]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/civetweb/src/third_party/duktape-1.5.2/polyfills/object-prototype-definegetter.js
import quincy beta 17.1.0
[ceph.git] / ceph / src / civetweb / src / third_party / duktape-1.5.2 / polyfills / object-prototype-definegetter.js
diff --git a/ceph/src/civetweb/src/third_party/duktape-1.5.2/polyfills/object-prototype-definegetter.js b/ceph/src/civetweb/src/third_party/duktape-1.5.2/polyfills/object-prototype-definegetter.js
deleted file mode 100644 (file)
index 8d8cabb..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
- *  Object.prototype.__defineGetter__ polyfill
- */
-
-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
-    });
-}