gis-common 1.1.19 → 1.1.20

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.
@@ -484,12 +484,14 @@ var MeasureMode = {
484
484
  }
485
485
  });
486
486
  },
487
- loadStyle: function loadStyle() {
488
- var css = document.createElement('link');
489
- css.href = url;
490
- css.rel = 'stylesheet';
491
- css.type = 'text/css';
492
- document.head.appendChild(css);
487
+ loadStyle: function loadStyle(urls) {
488
+ urls.forEach(function (url) {
489
+ var css = document.createElement('link');
490
+ css.href = url;
491
+ css.rel = 'stylesheet';
492
+ css.type = 'text/css';
493
+ document.head.appendChild(css);
494
+ });
493
495
  },
494
496
 
495
497
  /**
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.19",
5
+ "version": "1.1.20",
6
6
  "author": "Guo.Yan <luv02@vip.qq.com>",
7
7
  "license": "MIT",
8
8
  "private": false,