aboutsummaryrefslogtreecommitdiff
path: root/web/load.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2020-03-10 19:23:21 -0700
committerAnton Tananaev <anton.tananaev@gmail.com>2020-03-10 19:23:21 -0700
commitf5165c8e897e8d9cf4219d943e2d34b61adb48b5 (patch)
treeab0fdf8c89505e8b112aef2221e36e1d08d693ec /web/load.js
parente8479d77f13acc3b3738a180a7990b06c495f1ba (diff)
downloadtrackermap-web-f5165c8e897e8d9cf4219d943e2d34b61adb48b5.tar.gz
trackermap-web-f5165c8e897e8d9cf4219d943e2d34b61adb48b5.tar.bz2
trackermap-web-f5165c8e897e8d9cf4219d943e2d34b61adb48b5.zip
Update CDN dependencies
Diffstat (limited to 'web/load.js')
-rw-r--r--web/load.js26
1 files changed, 13 insertions, 13 deletions
diff --git a/web/load.js b/web/load.js
index baa03d4d..f22f0adc 100644
--- a/web/load.js
+++ b/web/load.js
@@ -148,30 +148,30 @@
}
extjsVersion = '6.2.0';
- olVersion = '6.1.1';
+ olVersion = '6.2.1';
proj4jsVersion = '2.6.0';
if (debugMode) {
- addScriptFile('https://cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/ext-all-debug.js');
- addScriptFile('https://cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/packages/charts/classic/charts-debug.js');
+ addScriptFile('https://cdn.traccar.com/js/extjs/' + extjsVersion + '/ext-all-debug.js');
+ addScriptFile('https://cdn.traccar.com/js/extjs/' + extjsVersion + '/packages/charts/classic/charts-debug.js');
} else {
- addScriptFile('https://cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/ext-all.js');
- addScriptFile('https://cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/packages/charts/classic/charts.js');
+ addScriptFile('https://cdn.traccar.com/js/extjs/' + extjsVersion + '/ext-all.js');
+ addScriptFile('https://cdn.traccar.com/js/extjs/' + extjsVersion + '/packages/charts/classic/charts.js');
}
- addScriptFile('https://cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/classic/locale/locale-' + locale.languages[locale.language].code + '.js');
+ addScriptFile('https://cdn.traccar.com/js/extjs/' + extjsVersion + '/classic/locale/locale-' + locale.languages[locale.language].code + '.js');
- addStyleFile('https://cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/classic/theme-triton/resources/theme-triton-all.css');
- addScriptFile('https://cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/classic/theme-triton/theme-triton.js');
+ addStyleFile('https://cdn.traccar.com/js/extjs/' + extjsVersion + '/classic/theme-triton/resources/theme-triton-all.css');
+ addScriptFile('https://cdn.traccar.com/js/extjs/' + extjsVersion + '/classic/theme-triton/theme-triton.js');
- addStyleFile('https://cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/packages/charts/classic/triton/resources/charts-all.css');
+ addStyleFile('https://cdn.traccar.com/js/extjs/' + extjsVersion + '/packages/charts/classic/triton/resources/charts-all.css');
- addStyleFile('https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v' + olVersion + '/css/ol.css');
- addScriptFile('https://cdn.jsdelivr.net/gh/openlayers/openlayers.github.io@master/en/v' + olVersion + '/build/ol.js');
+ addStyleFile('https://cdn.traccar.com/js/ol/' + olVersion + '/ol.css');
+ addScriptFile('https://cdn.traccar.com/js/ol/' + olVersion + '/ol.js');
if (debugMode) {
- addScriptFile('https://cdn.jsdelivr.net/npm/proj4@' + proj4jsVersion + '/dist/proj4-src.js');
+ addScriptFile('https://cdn.traccar.com/js/proj4js/' + proj4jsVersion + '/proj4-src.js');
} else {
- addScriptFile('https://cdn.jsdelivr.net/npm/proj4@' + proj4jsVersion + '/dist/proj4.js');
+ addScriptFile('https://cdn.traccar.com/js/proj4js/' + proj4jsVersion + '/proj4.js');
}
window.Images = ['arrow', 'default', 'animal', 'bicycle', 'boat', 'bus', 'car', 'crane', 'helicopter', 'motorcycle',