_extends.js 614 B

12345678910111213141516171819202122
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = _extends;
  6. function _extends() {
  7. return extends_.apply(this, arguments);
  8. }
  9. function extends_() {
  10. extends_ = Object.assign || function(target) {
  11. for(var i = 1; i < arguments.length; i++){
  12. var source = arguments[i];
  13. for(var key in source){
  14. if (Object.prototype.hasOwnProperty.call(source, key)) {
  15. target[key] = source[key];
  16. }
  17. }
  18. }
  19. return target;
  20. };
  21. return extends_.apply(this, arguments);
  22. }