'use strict'; var getPolyfill = require('./polyfill'); var define = require('define-properties'); module.exports = function shimGetOwnPropertyDescriptors() { var polyfill = getPolyfill(); define( Object, { getOwnPropertyDescriptors: polyfill }, { getOwnPropertyDescriptors: function () { return Object.getOwnPropertyDescriptors !== polyfill; } } ); return polyfill; };
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
.editorconfig | File | 276 B | 0644 |
|
.jscs.json | File | 4.04 KB | 0644 |
|
.npmignore | File | 587 B | 0644 |
|
.travis.yml | File | 1.91 KB | 0644 |
|
CHANGELOG.md | File | 1.69 KB | 0644 |
|
LICENSE | File | 1.06 KB | 0644 |
|
Makefile | File | 3.74 KB | 0644 |
|
README.md | File | 3.63 KB | 0644 |
|
implementation.js | File | 1.21 KB | 0644 |
|
index.js | File | 316 B | 0644 |
|
package.json | File | 3.08 KB | 0644 |
|
polyfill.js | File | 227 B | 0644 |
|
shim.js | File | 381 B | 0644 |
|