main
Last change
on this file was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
532 bytes
|
Rev | Line | |
---|
[d565449] | 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.