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:
296 bytes
|
Rev | Line | |
---|
[d565449] | 1 | function _defaults(e, r) {
|
---|
| 2 | for (var t = Object.getOwnPropertyNames(r), o = 0; o < t.length; o++) {
|
---|
| 3 | var n = t[o],
|
---|
| 4 | a = Object.getOwnPropertyDescriptor(r, n);
|
---|
| 5 | a && a.configurable && void 0 === e[n] && Object.defineProperty(e, n, a);
|
---|
| 6 | }
|
---|
| 7 | return e;
|
---|
| 8 | }
|
---|
| 9 | export { _defaults as default }; |
---|
Note:
See
TracBrowser
for help on using the repository browser.