Skip to content

Commit 10bce56

Browse files
author
user name
committed
2 parents ae0aaf5 + f4ca81e commit 10bce56

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

dist/ol/include-ol.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
var includes = (targetScript.getAttribute('include') || '').split(',');
5454
var excludes = (targetScript.getAttribute('exclude') || '').split(',');
5555
// 在线
56-
if (!inArray(excludes, 'ol') && !inArray(includes, 'ol-debug') && !inArray(includes, 'ol@4.6.5')) {
56+
if (!inArray(includes, 'ol-debug') && !inArray(includes, 'ol@4.6.5') && !inArray(excludes, 'ol')) {
5757
inputCSS(`${libsurl}/openlayers/6.14.1/ol.css`);
5858
inputScript(`${libsurl}/openlayers/6.14.1/ol.js`);
5959
}

dist/openlayers/include-openlayers.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
var includes = (targetScript.getAttribute('include') || '').split(',');
5454
var excludes = (targetScript.getAttribute('exclude') || '').split(',');
5555
// 在线
56-
if (!inArray(excludes, 'ol') && !inArray(includes, 'ol-debug') && !inArray(includes, 'ol@4.6.5')) {
57-
inputCSS(`${libsurl}/openlayers/6.14.1/ol.css`);
56+
if (!inArray(includes, 'ol-debug') && !inArray(includes, 'ol@4.6.5') && !inArray(excludes, 'ol')) {
57+
inputCSS(`${libsurl}/openlayers/6.14.1/ol.css`);
5858
inputScript(`${libsurl}/openlayers/6.14.1/ol.js`);
5959
}
6060
if (inArray(includes, 'ol@4.6.5')) {

test/karma.conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ module.exports = function (config) {
9595
{ pattern: '../node_modules/maplibre-gl/dist/maplibre-gl.css', included: false },
9696
'../src/maplibregl/**/!(index).js',
9797
/**测试文件**/
98-
'./test-main-maplibregl.js'
98+
// './test-main-maplibregl.js'
9999
],
100100

101101
// list of files to exclude 测试时排除的文件

0 commit comments

Comments
 (0)