]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/third_party/prometheus-cpp/3rdparty/civetweb/src/third_party/duktape-1.8.0/polyfills/object-prototype-definegetter.js
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / third_party / prometheus-cpp / 3rdparty / civetweb / src / third_party / duktape-1.8.0 / polyfills / object-prototype-definegetter.js
1 /*
2 * Object.prototype.__defineGetter__ polyfill
3 */
4
5 if (typeof Object.prototype.__defineGetter__ === 'undefined') {
6 Object.defineProperty(Object.prototype, '__defineGetter__', {
7 value: function (n, f) {
8 Object.defineProperty(this, n, { enumerable: true, configurable: true, get: f });
9 }, writable: true, enumerable: false, configurable: true
10 });
11 }