Last change
on this file since 76712b2 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
532 bytes
|
Line | |
---|
1 | 'use strict';
|
---|
2 |
|
---|
3 | var defineProperties = require('define-properties');
|
---|
4 | var callBind = require('call-bind');
|
---|
5 |
|
---|
6 | var implementation = require('./implementation');
|
---|
7 | var getPolyfill = require('./polyfill');
|
---|
8 | var shim = require('./shim');
|
---|
9 |
|
---|
10 | var polyfill = callBind.apply(getPolyfill());
|
---|
11 | // eslint-disable-next-line no-unused-vars
|
---|
12 | var bound = function assign(target, source1) {
|
---|
13 | return polyfill(Object, arguments);
|
---|
14 | };
|
---|
15 |
|
---|
16 | defineProperties(bound, {
|
---|
17 | getPolyfill: getPolyfill,
|
---|
18 | implementation: implementation,
|
---|
19 | shim: shim
|
---|
20 | });
|
---|
21 |
|
---|
22 | module.exports = bound;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.