'use strict'; var define = require('define-properties'); var getPolyfill = require('./polyfill'); module.exports = function shimAssign() { var polyfill = getPolyfill(); define( Object, { assign: polyfill }, { assign: function () { return Object.assign !== polyfill; } } ); return polyfill; };
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
.github | Folder | 0755 |
|
|
dist | Folder | 0755 |
|
|
test | Folder | 0755 |
|
|
.editorconfig | File | 286 B | 0644 |
|
.eslintrc | File | 627 B | 0644 |
|
.nycrc | File | 139 B | 0644 |
|
CHANGELOG.md | File | 8.71 KB | 0644 |
|
LICENSE | File | 1.05 KB | 0644 |
|
README.md | File | 3.77 KB | 0644 |
|
auto.js | File | 36 B | 0644 |
|
hasSymbols.js | File | 1.58 KB | 0644 |
|
implementation.js | File | 1.38 KB | 0644 |
|
index.js | File | 532 B | 0644 |
|
package.json | File | 2.25 KB | 0644 |
|
polyfill.js | File | 1.27 KB | 0644 |
|
shim.js | File | 305 B | 0644 |
|
test.html | File | 1.05 MB | 0644 |
|