gis-common 1.1.24 → 1.1.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -523,17 +523,7 @@ var MeasureMode = {
523
523
  return [i, data[i]];
524
524
  }));
525
525
  },
526
- deepAssign: function (_deepAssign) {
527
- function deepAssign() {
528
- return _deepAssign.apply(this, arguments);
529
- }
530
-
531
- deepAssign.toString = function () {
532
- return _deepAssign.toString();
533
- };
534
-
535
- return deepAssign;
536
- }(function () {
526
+ deepAssign: function deepAssign() {
537
527
  var len = arguments.length,
538
528
  target = arguments[0];
539
529
  if (!this.getDataType(target) === 'Object') {
@@ -547,7 +537,7 @@ var MeasureMode = {
547
537
  continue;
548
538
  }
549
539
  if (this.getDataType(source[s]) === 'Object') {
550
- target[s] = deepAssign(target[s], source[s]);
540
+ target[s] = this.deepAssign(target[s], source[s]);
551
541
  } else {
552
542
  target[s] = source[s];
553
543
  }
@@ -555,7 +545,7 @@ var MeasureMode = {
555
545
  }
556
546
  }
557
547
  return target;
558
- })
548
+ }
559
549
  });
560
550
  // CONCATENATED MODULE: ./src/utils/ArrayUtils.js
561
551
  function _toConsumableArray(arr) { if (Array.isArray(arr)) { for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { arr2[i] = arr[i]; } return arr2; } else { return Array.from(arr); } }
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "gis-common",
3
3
  "description": "gis-common",
4
4
  "main": "dist/resource.min.js",
5
- "version": "1.1.24",
5
+ "version": "1.1.25",
6
6
  "author": "Guo.Yan <luv02@vip.qq.com>",
7
7
  "license": "MIT",
8
8
  "private": false,