'use strict'; var getPolyfill = require('./polyfill'); var define = require('define-properties'); module.exports = function shimObjectIs() { var polyfill = getPolyfill(); define(Object, { is: polyfill }, { is: function testObjectIs() { return Object.is !== polyfill; } }); return polyfill; };
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
test | Folder | 0755 |
|
|
.eslintignore | File | 10 B | 0644 |
|
.eslintrc | File | 42 B | 0644 |
|
.nycrc | File | 216 B | 0644 |
|
CHANGELOG.md | File | 13.36 KB | 0644 |
|
LICENSE | File | 1.06 KB | 0644 |
|
README.md | File | 1.96 KB | 0644 |
|
auto.js | File | 36 B | 0644 |
|
implementation.js | File | 286 B | 0644 |
|
index.js | File | 390 B | 0644 |
|
package.json | File | 2.04 KB | 0644 |
|
polyfill.js | File | 181 B | 0644 |
|
shim.js | File | 306 B | 0644 |
|