| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -58,36 +58,36 @@ | |||
| 58 | 58 | inputScript('https://cdn.jsdelivr.net/npm/leaflet@1.7.1/dist/leaflet.js'); | |
| 59 | 59 | } | |
| 60 | 60 | if (inArray(includes, 'leaflet.heat')) { | |
| 61 | - inputScript('https://cdn.bootcss.com/leaflet.heat/0.2.0/leaflet-heat.js'); | ||
| 61 | + inputScript('https://cdn.bootcdn.net/ajax/libs/leaflet.heat/0.2.0/leaflet-heat.js'); | ||
| 62 | 62 | } | |
| 63 | 63 | if (inArray(includes, 'leaflet.markercluster')) { | |
| 64 | - inputCSS('https://cdn.bootcss.com/leaflet.markercluster/1.4.1/MarkerCluster.Default.css'); | ||
| 65 | - inputCSS('https://cdn.bootcss.com/leaflet.markercluster/1.4.1/MarkerCluster.css'); | ||
| 66 | - inputScript('https://cdn.bootcss.com/leaflet.markercluster/1.4.1/leaflet.markercluster.js'); | ||
| 64 | + inputCSS('https://cdn.bootcdn.net/ajax/libs/leaflet.markercluster/1.4.1/MarkerCluster.Default.css'); | ||
| 65 | + inputCSS('https://cdn.bootcdn.net/ajax/libs/leaflet.markercluster/1.4.1/MarkerCluster.css'); | ||
| 66 | + inputScript('https://cdn.bootcdn.net/ajax/libs/leaflet.markercluster/1.4.1/leaflet.markercluster.js'); | ||
| 67 | 67 | } | |
| 68 | 68 | if (inArray(includes, 'leaflet.draw')) { | |
| 69 | - inputCSS('https://cdn.bootcss.com/leaflet.draw/1.0.4/leaflet.draw.css'); | ||
| 70 | - inputScript('https://cdn.bootcss.com/leaflet.draw/1.0.4/leaflet.draw.js'); | ||
| 69 | + inputCSS('https://cdn.bootcdn.net/ajax/libs/leaflet.draw/1.0.4/leaflet.draw.css'); | ||
| 70 | + inputScript('https://cdn.bootcdn.net/ajax/libs/leaflet.draw/1.0.4/leaflet.draw.js'); | ||
| 71 | 71 | } | |
| 72 | 72 | if (inArray(includes, 'leaflet-geoman')) { | |
| 73 | 73 | inputCSS('https://cdn.jsdelivr.net/npm/@geoman-io/leaflet-geoman-free@2.7.0/dist/leaflet-geoman.css'); | |
| 74 | 74 | inputScript('https://cdn.jsdelivr.net/npm/@geoman-io/leaflet-geoman-free@2.7.0/dist/leaflet-geoman.min.js'); | |
| 75 | 75 | } | |
| 76 | 76 | if (inArray(includes, 'leaflet.miniMap')) { | |
| 77 | - inputCSS('https://cdn.bootcss.com/leaflet-minimap/3.6.1/Control.MiniMap.min.css'); | ||
| 78 | - inputScript('https://cdn.bootcss.com/leaflet-minimap/3.6.1/Control.MiniMap.min.js'); | ||
| 77 | + inputCSS('https://cdn.bootcdn.net/ajax/libs/leaflet-minimap/3.6.1/Control.MiniMap.min.css'); | ||
| 78 | + inputScript('https://cdn.bootcdn.net/ajax/libs/leaflet-minimap/3.6.1/Control.MiniMap.min.js'); | ||
| 79 | 79 | } | |
| 80 | 80 | if (inArray(includes, 'mapv')) { | |
| 81 | 81 | inputScript('https://cdn.jsdelivr.net/npm/mapv@2.0.56/build/mapv.min.js'); | |
| 82 | 82 | } | |
| 83 | 83 | if (inArray(includes, 'turf')) { | |
| 84 | - inputScript('https://cdn.bootcss.com/Turf.js/5.1.6/turf.min.js'); | ||
| 84 | + inputScript('https://cdn.bootcdn.net/ajax/libs/Turf.js/5.1.6/turf.min.js'); | ||
| 85 | 85 | } | |
| 86 | 86 | if (inArray(includes, 'echarts')) { | |
| 87 | 87 | inputScript('https://cdn.jsdelivr.net/npm/echarts@4.9.0/dist/echarts.min.js'); | |
| 88 | 88 | } | |
| 89 | 89 | if (inArray(includes, 'elasticsearch')) { | |
| 90 | - inputScript('https://cdn.bootcss.com/elasticsearch/16.7.1/elasticsearch.js'); | ||
| 90 | + inputScript('https://cdn.bootcdn.net/ajax/libs/elasticsearch/16.7.1/elasticsearch.js'); | ||
| 91 | 91 | } | |
| 92 | 92 | if (inArray(includes, 'xlsx')) { | |
| 93 | 93 | inputScript('https://cdn.jsdelivr.net/npm/xlsx@0.16.7/dist/xlsx.core.min.js'); | |
@@ -99,7 +99,7 @@ | |||
| 99 | 99 | ); | |
| 100 | 100 | } | |
| 101 | 101 | if (inArray(includes, 'd3')) { | |
| 102 | - inputScript('https://cdn.bootcss.com/d3/6.1.1/d3.min.js'); | ||
| 102 | + inputScript('https://cdn.bootcdn.net/ajax/libs/d3/6.1.1/d3.min.js'); | ||
| 103 | 103 | } | |
| 104 | 104 | if (inArray(includes, 'd3-hexbin')) { | |
| 105 | 105 | inputScript('https://d3js.org/d3-hexbin.v0.2.min.js'); | |
@@ -118,7 +118,7 @@ | |||
| 118 | 118 | inputScript('https://iclient.supermap.io/web/libs/deck.gl/5.1.3/deck.gl.min.js'); | |
| 119 | 119 | } | |
| 120 | 120 | if (inArray(includes, 'pixi')) { | |
| 121 | - inputScript('https://cdn.bootcss.com/pixi.js/4.8.7/pixi.js'); | ||
| 121 | + inputScript('https://cdn.bootcdn.net/ajax/libs/pixi.js/4.8.7/pixi.js'); | ||
| 122 | 122 | inputScript('https://cdn.jsdelivr.net/npm/leaflet-pixi-overlay@1.8.1/L.PixiOverlay.min.js'); | |
| 123 | 123 | inputScript( | |
| 124 | 124 | 'https://iclient.supermap.io/web/libs/leaflet/plugins/Leaflet.PixiOverlay/1.8.1/MarkerContainer.js' | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,7 +2,7 @@ | |||
| 2 | 2 | * This program are made available under the terms of the Apache License, Version 2.0 | |
| 3 | 3 | * which accompanies this distribution and is available at http://www.apache.org/licenses/LICENSE-2.0.html.*/ | |
| 4 | 4 | ||
| 5 | - importScripts('https://cdn.bootcss.com/Turf.js/5.1.6/turf.min.js') | ||
| 5 | + importScripts('https://cdn.bootcdn.net/ajax/libs/Turf.js/5.1.6/turf.min.js') | ||
| 6 | 6 | ||
| 7 | 7 | /** | |
| 8 | 8 | * 空间分析所需工具类 | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -94,10 +94,10 @@ | |||
| 94 | 94 | inputScript('https://cdn.jsdelivr.net/npm/three@0.121.1/build/three.js'); | |
| 95 | 95 | } | |
| 96 | 96 | if (inArray(includes, 'xlsx')) { | |
| 97 | - inputScript('https://cdn.bootcss.com/xlsx/0.16.7/xlsx.core.min.js'); | ||
| 97 | + inputScript('https://cdn.bootcdn.net/ajax/libs/xlsx/0.16.7/xlsx.core.min.js'); | ||
| 98 | 98 | } | |
| 99 | 99 | if (inArray(includes, 'proj4')) { | |
| 100 | - inputScript('https://cdn.bootcss.com/proj4js/2.6.2/proj4.js'); | ||
| 100 | + inputScript('https://cdn.bootcdn.net/ajax/libs/proj4js/2.6.2/proj4.js'); | ||
| 101 | 101 | } | |
| 102 | 102 | if (inArray(includes, 'shapefile')) { | |
| 103 | 103 | inputScript('https://cdn.jsdelivr.net/npm/shapefile@0.6.6/dist/shapefile.js'); | |
@@ -107,9 +107,9 @@ | |||
| 107 | 107 | inputScript('https://cdn.jsdelivr.net/npm/ant-design-vue@1.3.9/dist/antd.min.js'); | |
| 108 | 108 | } | |
| 109 | 109 | if (inArray(includes, 'antd')) { | |
| 110 | - inputCSS('https://cdn.bootcss.com/antd/3.25.3/antd.min.css'); | ||
| 111 | - inputScript('https://cdn.bootcss.com/moment.js/2.24.0/moment.min.js'); | ||
| 112 | - inputScript('https://cdn.bootcss.com/antd/3.25.3/antd.js'); | ||
| 110 | + inputCSS('https://cdn.bootcdn.net/ajax/libs/antd/3.25.3/antd.min.css'); | ||
| 111 | + inputScript('https://cdn.bootcdn.net/ajax/libs/moment.js/2.24.0/moment.min.js'); | ||
| 112 | + inputScript('https://cdn.bootcdn.net/ajax/libs/antd/3.25.3/antd.js'); | ||
| 113 | 113 | } | |
| 114 | 114 | if (inArray(includes, 'deck')) { | |
| 115 | 115 | inputScript('https://iclient.supermap.io/web/libs/deck.gl/5.1.3/deck.gl.min.js'); | |
@@ -136,7 +136,7 @@ | |||
| 136 | 136 | } | |
| 137 | 137 | ||
| 138 | 138 | if (inArray(includes, 'three92')) { | |
| 139 | - inputScript('https://cdn.bootcss.com/three.js/92/three.min.js'); | ||
| 139 | + inputScript('https://cdn.bootcdn.net/ajax/libs/three.js/92/three.min.js'); | ||
| 140 | 140 | } | |
| 141 | 141 | if (inArray(includes, 'LoaderSupport')) { | |
| 142 | 142 | inputScript('https://iclient.supermap.io/web/libs/three/plugins/loaders/LoaderCommons.js'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -58,24 +58,24 @@ | |||
| 58 | 58 | inputScript('https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.4.3/build/ol.js'); | |
| 59 | 59 | } | |
| 60 | 60 | if (inArray(includes, 'ol@4.6.5')) { | |
| 61 | - inputCSS('https://cdn.bootcss.com/openlayers/4.6.5/ol.css'); | ||
| 62 | - inputScript('https://cdn.bootcss.com/openlayers/4.6.5/ol.js'); | ||
| 61 | + inputCSS('https://cdn.bootcdn.net/ajax/libs/openlayers/4.6.5/ol.css'); | ||
| 62 | + inputScript('https://cdn.bootcdn.net/ajax/libs/openlayers/4.6.5/ol.js'); | ||
| 63 | 63 | } | |
| 64 | 64 | if (inArray(includes, 'ol-debug')) { | |
| 65 | - inputCSS('https://cdn.bootcss.com/openlayers/4.6.5/ol-debug.css'); | ||
| 66 | - inputScript('https://cdn.bootcss.com/openlayers/4.6.5/ol-debug.js'); | ||
| 65 | + inputCSS('https://cdn.bootcdn.net/ajax/libs/openlayers/4.6.5/ol-debug.css'); | ||
| 66 | + inputScript('https://cdn.bootcdn.net/ajax/libs/openlayers/4.6.5/ol-debug.js'); | ||
| 67 | 67 | } | |
| 68 | 68 | if (inArray(includes, 'mapv')) { | |
| 69 | 69 | inputScript('https://cdn.jsdelivr.net/npm/mapv@2.0.56/build/mapv.min.js'); | |
| 70 | 70 | } | |
| 71 | 71 | if (inArray(includes, 'turf')) { | |
| 72 | - inputScript('https://cdn.bootcss.com/Turf.js/5.1.6/turf.min.js'); | ||
| 72 | + inputScript('https://cdn.bootcdn.net/ajax/libs/Turf.js/5.1.6/turf.min.js'); | ||
| 73 | 73 | } | |
| 74 | 74 | if (inArray(includes, 'echarts')) { | |
| 75 | 75 | inputScript('https://cdn.jsdelivr.net/npm/echarts@4.9.0/dist/echarts.min.js'); | |
| 76 | 76 | } | |
| 77 | 77 | if (inArray(includes, 'proj4')) { | |
| 78 | - inputScript('https://cdn.bootcss.com/proj4js/2.6.2/proj4.js'); | ||
| 78 | + inputScript('https://cdn.bootcdn.net/ajax/libs/proj4js/2.6.2/proj4.js'); | ||
| 79 | 79 | } | |
| 80 | 80 | if (inArray(includes, 'ol3-echarts')) { | |
| 81 | 81 | inputScript('https://cdn.jsdelivr.net/npm/ol3-echarts@2.0.3/dist/ol3Echarts.min.js'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -58,24 +58,24 @@ | |||
| 58 | 58 | inputScript('https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v6.4.3/build/ol.js'); | |
| 59 | 59 | } | |
| 60 | 60 | if (inArray(includes, 'ol@4.6.5')) { | |
| 61 | - inputCSS('https://cdn.bootcss.com/openlayers/4.6.5/ol.css'); | ||
| 62 | - inputScript('https://cdn.bootcss.com/openlayers/4.6.5/ol.js'); | ||
| 61 | + inputCSS('https://cdn.bootcdn.net/ajax/libs/openlayers/4.6.5/ol.css'); | ||
| 62 | + inputScript('https://cdn.bootcdn.net/ajax/libs/openlayers/4.6.5/ol.js'); | ||
| 63 | 63 | } | |
| 64 | 64 | if (inArray(includes, 'ol-debug')) { | |
| 65 | - inputCSS('https://cdn.bootcss.com/openlayers/4.6.5/ol-debug.css'); | ||
| 66 | - inputScript('https://cdn.bootcss.com/openlayers/4.6.5/ol-debug.js'); | ||
| 65 | + inputCSS('https://cdn.bootcdn.net/ajax/libs/openlayers/4.6.5/ol-debug.css'); | ||
| 66 | + inputScript('https://cdn.bootcdn.net/ajax/libs/openlayers/4.6.5/ol-debug.js'); | ||
| 67 | 67 | } | |
| 68 | 68 | if (inArray(includes, 'mapv')) { | |
| 69 | 69 | inputScript('https://cdn.jsdelivr.net/npm/mapv@2.0.56/build/mapv.min.js'); | |
| 70 | 70 | } | |
| 71 | 71 | if (inArray(includes, 'turf')) { | |
| 72 | - inputScript('https://cdn.bootcss.com/Turf.js/5.1.6/turf.min.js'); | ||
| 72 | + inputScript('https://cdn.bootcdn.net/ajax/libs/Turf.js/5.1.6/turf.min.js'); | ||
| 73 | 73 | } | |
| 74 | 74 | if (inArray(includes, 'echarts')) { | |
| 75 | 75 | inputScript('https://cdn.jsdelivr.net/npm/echarts@4.9.0/dist/echarts.min.js'); | |
| 76 | 76 | } | |
| 77 | 77 | if (inArray(includes, 'proj4')) { | |
| 78 | - inputScript('https://cdn.bootcss.com/proj4js/2.6.2/proj4.js'); | ||
| 78 | + inputScript('https://cdn.bootcdn.net/ajax/libs/proj4js/2.6.2/proj4.js'); | ||
| 79 | 79 | } | |
| 80 | 80 | if (inArray(includes, 'ol3-echarts')) { | |
| 81 | 81 | inputScript('https://cdn.jsdelivr.net/npm/ol3-echarts@2.0.3/dist/ol3Echarts.min.js'); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -10,7 +10,7 @@ | |||
| 10 | 10 | content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"> | |
| 11 | 11 | <title>三维场景</title> | |
| 12 | 12 | <link rel="stylesheet" href="https://www.supermapol.com/earth/Build/Cesium/Widgets/widgets.css"> | |
| 13 | - <script type="text/javascript" src="https://cdn.bootcss.com/require.js/2.3.3/require.min.js" | ||
| 13 | + <script type="text/javascript" src="https://cdn.bootcdn.net/ajax/libs/require.js/2.3.3/require.min.js" | ||
| 14 | 14 | data-main="./entry.js"></script> | |
| 15 | 15 | <style> | |
| 16 | 16 | html, body, #cesiumContainer { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -39,64 +39,64 @@ | |||
| 39 | 39 | inputScript("../js/tokengenerator.js"); | |
| 40 | 40 | var jQueryInclude = false; | |
| 41 | 41 | if (!inArray(excludes, 'example-i18n')) { | |
| 42 | - inputScript("https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"); | ||
| 42 | + inputScript("https://cdn.bootcdn.net/ajax/libs/jquery/3.2.1/jquery.min.js"); | ||
| 43 | 43 | ||
| 44 | - inputScript("https://cdn.bootcss.com/i18next/10.0.7/i18next.min.js"); | ||
| 45 | - inputScript("https://cdn.bootcss.com/jquery-i18next/1.2.1/jquery-i18next.min.js"); | ||
| 44 | + inputScript("https://cdn.bootcdn.net/ajax/libs/i18next/10.0.7/i18next.min.js"); | ||
| 45 | + inputScript("https://cdn.bootcdn.net/ajax/libs/jquery-i18next/1.2.1/jquery-i18next.min.js"); | ||
| 46 | 46 | ||
| 47 | 47 | inputScript("../js/utils.js"); | |
| 48 | 48 | inputScript("../js/localization.js"); | |
| 49 | 49 | document.writeln("<script>Localization.initializeI18N('../', function () {Localization.localize();Localization.initGlobal();}); </script>"); | |
| 50 | 50 | jQueryInclude = true; | |
| 51 | 51 | } | |
| 52 | 52 | if (inArray(includes, 'jquery') && !jQueryInclude) { | |
| 53 | - inputScript("https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"); | ||
| 53 | + inputScript("https://cdn.bootcdn.net/ajax/libs/jquery/3.2.1/jquery.min.js"); | ||
| 54 | 54 | } | |
| 55 | 55 | ||
| 56 | 56 | if (inArray(includes, 'bootstrap')) { | |
| 57 | - inputScript("https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"); | ||
| 58 | - inputCSS("https://cdn.bootcss.com/twitter-bootstrap/3.3.7/css/bootstrap.min.css"); | ||
| 59 | - inputScript("https://cdn.bootcss.com/twitter-bootstrap/3.3.7/js/bootstrap.min.js"); | ||
| 57 | + inputScript("https://cdn.bootcdn.net/ajax/libs/jquery/3.2.1/jquery.min.js"); | ||
| 58 | + inputCSS("https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css"); | ||
| 59 | + inputScript("https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"); | ||
| 60 | 60 | } | |
| 61 | 61 | if (inArray(includes, 'bootstrap-css')) { | |
| 62 | - inputCSS("https://cdn.bootcss.com/twitter-bootstrap/3.3.7/css/bootstrap.min.css") | ||
| 62 | + inputCSS("https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css") | ||
| 63 | 63 | } | |
| 64 | 64 | ||
| 65 | 65 | if (inArray(includes, 'bootstrap-js')) { | |
| 66 | - inputScript("https://cdn.bootcss.com/twitter-bootstrap/3.3.7/js/bootstrap.min.js"); | ||
| 66 | + inputScript("https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"); | ||
| 67 | 67 | } | |
| 68 | 68 | ||
| 69 | 69 | if (inArray(includes, 'jquery-ui')) { | |
| 70 | - inputCSS("https://cdn.bootcss.com/jqueryui/1.12.1/jquery-ui.css"); | ||
| 71 | - inputScript("https://cdn.bootcss.com/jqueryui/1.12.1/jquery-ui.min.js"); | ||
| 70 | + inputCSS("https://cdn.bootcdn.net/ajax/libs/jqueryui/1.12.1/jquery-ui.css"); | ||
| 71 | + inputScript("https://cdn.bootcdn.net/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"); | ||
| 72 | 72 | } | |
| 73 | 73 | ||
| 74 | 74 | if (inArray(includes, 'template')) { | |
| 75 | 75 | inputScript("https://iclient.supermap.io/web/libs/art-template/template-web.js"); | |
| 76 | 76 | } | |
| 77 | 77 | if (inArray(includes, 'randomcolor')) { | |
| 78 | - inputScript("https://cdn.bootcss.com/randomcolor/0.5.2/randomColor.min.js"); | ||
| 78 | + inputScript("https://cdn.bootcdn.net/ajax/libs/randomcolor/0.5.2/randomColor.min.js"); | ||
| 79 | 79 | } | |
| 80 | 80 | if (inArray(includes, 'papaparse')) { | |
| 81 | - inputScript("https://cdn.bootcss.com/PapaParse/4.3.2/papaparse.min.js"); | ||
| 81 | + inputScript("https://cdn.bootcdn.net/ajax/libs/PapaParse/4.3.2/papaparse.min.js"); | ||
| 82 | 82 | } | |
| 83 | 83 | if (inArray(includes, 'moment')) { | |
| 84 | - inputScript("https://cdn.bootcss.com/moment.js/2.18.1/moment.min.js"); | ||
| 85 | - inputScript("https://cdn.bootcss.com/moment.js/2.18.1/locale/zh-cn.js"); | ||
| 84 | + inputScript("https://cdn.bootcdn.net/ajax/libs/moment.js/2.18.1/moment.min.js"); | ||
| 85 | + inputScript("https://cdn.bootcdn.net/ajax/libs/moment.js/2.18.1/locale/zh-cn.js"); | ||
| 86 | 86 | } | |
| 87 | 87 | if (inArray(includes, 'bootstrap-datetimepicker')) { | |
| 88 | - inputCSS("https://cdn.bootcss.com/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css"); | ||
| 89 | - inputScript("https://cdn.bootcss.com/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js"); | ||
| 88 | + inputCSS("https://cdn.bootcdn.net/ajax/libs/bootstrap-datetimepicker/4.17.47/css/bootstrap-datetimepicker.min.css"); | ||
| 89 | + inputScript("https://cdn.bootcdn.net/ajax/libs/bootstrap-datetimepicker/4.17.47/js/bootstrap-datetimepicker.min.js"); | ||
| 90 | 90 | } | |
| 91 | 91 | if (inArray(includes, 'bootstrap-select')) { | |
| 92 | - inputCSS("https://cdn.bootcss.com/bootstrap-select/1.12.2/css/bootstrap-select.min.css"); | ||
| 93 | - inputScript("https://cdn.bootcss.com/bootstrap-select/1.12.2/js/bootstrap-select.min.js"); | ||
| 92 | + inputCSS("https://cdn.bootcdn.net/ajax/libs/bootstrap-select/1.12.2/css/bootstrap-select.min.css"); | ||
| 93 | + inputScript("https://cdn.bootcdn.net/ajax/libs/bootstrap-select/1.12.2/js/bootstrap-select.min.js"); | ||
| 94 | 94 | } | |
| 95 | 95 | if (inArray(includes, 'geohash')) { | |
| 96 | 96 | inputScript("https://iclient.supermap.io/web/libs/geohash/geohash.js"); | |
| 97 | 97 | } | |
| 98 | 98 | if (inArray(includes, 'dat-gui')) { | |
| 99 | - inputScript("https://cdn.bootcss.com/dat-gui/0.7.6/dat.gui.js"); | ||
| 99 | + inputScript("https://cdn.bootcdn.net/ajax/libs/dat-gui/0.7.6/dat.gui.js"); | ||
| 100 | 100 | datGuiI18N(); | |
| 101 | 101 | } | |
| 102 | 102 | if (inArray(includes, 'admin-lte')) { | |
@@ -109,23 +109,23 @@ | |||
| 109 | 109 | inputScript("https://iclient.supermap.io/web/libs/jquery.scrollto/jquery.scrollTo.min.js"); | |
| 110 | 110 | } | |
| 111 | 111 | if (inArray(includes, 'ace')) { | |
| 112 | - inputScript("https://cdn.bootcss.com/ace/1.2.6/ace.js"); | ||
| 112 | + inputScript("https://cdn.bootcdn.net/ajax/libs/ace/1.2.6/ace.js"); | ||
| 113 | 113 | } | |
| 114 | 114 | if (inArray(includes, 'widgets.alert')) { | |
| 115 | 115 | inputScript("../js/widgets.js"); | |
| 116 | 116 | } | |
| 117 | 117 | ||
| 118 | 118 | if (inArray(includes, 'widgets')) { | |
| 119 | - inputCSS("https://cdn.bootcss.com/css-loader/2.2.0/css-loader.css"); | ||
| 119 | + inputCSS("https://cdn.bootcdn.net/ajax/libs/css-loader/2.2.0/css-loader.css"); | ||
| 120 | 120 | inputScript("../js/widgets.js"); | |
| 121 | 121 | } | |
| 122 | 122 | if (inArray(includes, 'zTree')) { | |
| 123 | - inputCSS("https://cdn.bootcss.com/zTree.v3/3.5.29/css/zTreeStyle/zTreeStyle.min.css"); | ||
| 124 | - inputScript("https://cdn.bootcss.com/zTree.v3/3.5.29/js/jquery.ztree.all.min.js"); | ||
| 123 | + inputCSS("https://cdn.bootcdn.net/ajax/libs/zTree.v3/3.5.29/css/zTreeStyle/zTreeStyle.min.css"); | ||
| 124 | + inputScript("https://cdn.bootcdn.net/ajax/libs/zTree.v3/3.5.29/js/jquery.ztree.all.min.js"); | ||
| 125 | 125 | } | |
| 126 | 126 | if (inArray(includes, 'jquery-scontextMenu')) { | |
| 127 | - inputCSS("https://cdn.bootcss.com/jquery-contextmenu/2.6.3/jquery.contextMenu.min.css"); | ||
| 128 | - inputScript("https://cdn.bootcss.com/jquery-contextmenu/2.6.3/jquery.contextMenu.min.js"); | ||
| 127 | + inputCSS("https://cdn.bootcdn.net/ajax/libs/jquery-contextmenu/2.6.3/jquery.contextMenu.min.css"); | ||
| 128 | + inputScript("https://cdn.bootcdn.net/ajax/libs/jquery-contextmenu/2.6.3/jquery.contextMenu.min.js"); | ||
| 129 | 129 | } | |
| 130 | 130 | if (inArray(includes, 'colorpicker')) { | |
| 131 | 131 | inputScript("https://iclient.supermap.io/web/libs/iclient8c/examples/js/jquery.js"); | |
@@ -143,25 +143,25 @@ | |||
| 143 | 143 | inputCSS("https://iclient.supermap.io/web/libs/iclient8c/examples/css/bootstrap-responsive.min.css"); | |
| 144 | 144 | } | |
| 145 | 145 | if (inArray(includes, 'lazyload')) { | |
| 146 | - inputScript("https://cdn.bootcss.com/jquery_lazyload/1.9.7/jquery.lazyload.min.js"); | ||
| 146 | + inputScript("https://cdn.bootcdn.net/ajax/libs/jquery_lazyload/1.9.7/jquery.lazyload.min.js"); | ||
| 147 | 147 | } | |
| 148 | 148 | if (inArray(includes, 'i18n')) { | |
| 149 | - inputScript("https://cdn.bootcss.com/i18next/10.0.7/i18next.min.js"); | ||
| 150 | - inputScript("https://cdn.bootcss.com/jquery-i18next/1.2.1/jquery-i18next.min.js"); | ||
| 149 | + inputScript("https://cdn.bootcdn.net/ajax/libs/i18next/10.0.7/i18next.min.js"); | ||
| 150 | + inputScript("https://cdn.bootcdn.net/ajax/libs/jquery-i18next/1.2.1/jquery-i18next.min.js"); | ||
| 151 | 151 | } | |
| 152 | 152 | if (inArray(includes, 'react')) { | |
| 153 | 153 | inputScript("https://iclient.supermap.io/web/libs/react/16.4.2/react.production.min.js"); | |
| 154 | 154 | inputScript("https://iclient.supermap.io/web/libs/react/16.4.2/react-dom.production.min.js"); | |
| 155 | - inputScript("https://cdn.bootcss.com/babel-standalone/6.26.0/babel.min.js"); | ||
| 155 | + inputScript("https://cdn.bootcdn.net/ajax/libs/babel-standalone/6.26.0/babel.min.js"); | ||
| 156 | 156 | } | |
| 157 | 157 | if (inArray(includes, 'vue')) { | |
| 158 | 158 | inputScript("https://iclient.supermap.io/web/libs/vue/2.5.17/vue.min.js"); | |
| 159 | 159 | } | |
| 160 | 160 | if (inArray(includes, 'ionRangeSlider')) { | |
| 161 | - inputCSS("https://cdn.bootcss.com/ion-rangeslider/2.2.0/css/ion.rangeSlider.css"); | ||
| 162 | - inputCSS("https://cdn.bootcss.com/normalize/8.0.0/normalize.css"); | ||
| 163 | - inputCSS("https://cdn.bootcss.com/ion-rangeslider/2.2.0/css/ion.rangeSlider.skinHTML5.css"); | ||
| 164 | - inputScript("https://cdn.bootcss.com/ion-rangeslider/2.2.0/js/ion.rangeSlider.min.js"); | ||
| 161 | + inputCSS("https://cdn.bootcdn.net/ajax/libs/ion-rangeslider/2.2.0/css/ion.rangeSlider.css"); | ||
| 162 | + inputCSS("https://cdn.bootcdn.net/ajax/libs/normalize/8.0.0/normalize.css"); | ||
| 163 | + inputCSS("https://cdn.bootcdn.net/ajax/libs/ion-rangeslider/2.2.0/css/ion.rangeSlider.skinHTML5.css"); | ||
| 164 | + inputScript("https://cdn.bootcdn.net/ajax/libs/ion-rangeslider/2.2.0/js/ion.rangeSlider.min.js"); | ||
| 165 | 165 | } | |
| 166 | 166 | if (inArray(includes, 'plottingPanel')) { | |
| 167 | 167 | inputScript("https://iclient.supermap.io/web/libs/iclient8c/examples/js/plottingPanel/zTree/jquery.ztree.core.js"); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments