Skip to content

Commit 37ed3f6

Browse files
committed
fix include & fix 示例 review by songym
1 parent 2b2f565 commit 37ed3f6

File tree

4 files changed

+13
-19
lines changed

4 files changed

+13
-19
lines changed

dist/classic/include-classic.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,10 @@
7070
inputCSS("http://iclient.supermap.io/libs/iclient8c/examples/css/heatmap.css");
7171
}
7272
if (!inArray(excludes, 'iclient-classic')) {
73-
if (!inArray(excludes, 'iclient-classic')) {
74-
if (supportES6()) {
75-
inputScript("../../dist/classic/iclient-classic-es6.min.js");
76-
} else {
77-
inputScript("../../dist/classic/iclient-classic.min.js");
78-
}
73+
if (supportES6()) {
74+
inputScript("../../dist/classic/iclient-classic-es6.min.js");
75+
} else {
76+
inputScript("../../dist/classic/iclient-classic.min.js");
7977
}
8078
}
8179
if (inArray(includes, 'tianditu')) {

dist/mapboxgl/include-mapboxgl.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,10 @@
7575
inputScript("http://iclient.supermap.io/web/libs/deck.gl/5.1.3/deck.gl.js");
7676
}
7777
if (!inArray(excludes, 'iclient9-mapboxgl')) {
78-
if (!inArray(excludes, 'iclient9-mapboxgl')) {
79-
if (supportES6()) {
80-
inputScript("../../dist/mapboxgl/iclient9-mapboxgl-es6.min.js");
81-
} else {
82-
inputScript("../../dist/mapboxgl/iclient9-mapboxgl.min.js");
83-
}
78+
if (supportES6()) {
79+
inputScript("../../dist/mapboxgl/iclient9-mapboxgl-es6.min.js");
80+
} else {
81+
inputScript("../../dist/mapboxgl/iclient9-mapboxgl.min.js");
8482
}
8583
}
8684
if (inArray(includes, 'LoaderSupport')) {

dist/openlayers/include-openlayers.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,12 +67,10 @@
6767
inputScript("http://iclient.supermap.io/web/libs/deck.gl/5.1.3/deck.gl.js");
6868
}
6969
if (!inArray(excludes, 'iclient9-openlayers')) {
70-
if (!inArray(excludes, 'iclient9-openlayers')) {
71-
if (supportES6()) {
72-
inputScript("../../dist/openlayers/iclient9-openlayers-es6.min.js");
73-
} else {
74-
inputScript("../../dist/openlayers/iclient9-openlayers.min.js");
75-
}
70+
if (supportES6()) {
71+
inputScript("../../dist/openlayers/iclient9-openlayers-es6.min.js");
72+
} else {
73+
inputScript("../../dist/openlayers/iclient9-openlayers.min.js");
7674
}
7775
}
7876
if (!inArray(excludes, 'iclient9-openlayers-css')) {

examples/openlayers/echartsLinesEffect.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<meta charset="UTF-8">
5-
<title>ECharts Lines Effect with Leaflet</title>
5+
<title>ECharts Lines Effect</title>
66
<script type="text/javascript" include="jquery" src="../js/include-web.js"></script>
77
<script type="text/javascript" include="echarts,ol3-echarts" src="../../dist/openlayers/include-openlayers.js"></script>
88
</head>

0 commit comments

Comments
 (0)