diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2016-12-27 20:26:21 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-27 20:26:21 +1300 |
commit | ecdf23611e30707f1bc5f89420f9409acaa56652 (patch) | |
tree | 2bf13878f536d0b63e2b4645b57c264a171fb078 /web/load.js | |
parent | 082f7926b846f876613f27f21779b594e79ea0c7 (diff) | |
parent | 747c16cadc803fdf0e4de0dc331c84e29dd56e9c (diff) | |
download | trackermap-web-ecdf23611e30707f1bc5f89420f9409acaa56652.tar.gz trackermap-web-ecdf23611e30707f1bc5f89420f9409acaa56652.tar.bz2 trackermap-web-ecdf23611e30707f1bc5f89420f9409acaa56652.zip |
Merge pull request #371 from Abyss777/charts
Charts implementation
Diffstat (limited to 'web/load.js')
-rw-r--r-- | web/load.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/web/load.js b/web/load.js index 7aee735d..ecf6f232 100644 --- a/web/load.js +++ b/web/load.js @@ -117,18 +117,22 @@ extjsVersion = '6.2.0'; fontAwesomeVersion = '4.7.0'; - olVersion = '3.20.0'; + olVersion = '3.20.1'; if (debugMode) { addScriptFile('//cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/ext-all-debug.js'); + addScriptFile('//cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/packages/charts/classic/charts-debug.js'); } else { addScriptFile('//cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/ext-all.js'); + addScriptFile('//cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/packages/charts/classic/charts.js'); } addScriptFile('//cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/classic/locale/locale-' + locale.languages[locale.language].code + '.js'); addStyleFile('//cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/classic/theme-triton/resources/theme-triton-all.css'); addScriptFile('//cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/classic/theme-triton/theme-triton.js'); + addStyleFile('//cdnjs.cloudflare.com/ajax/libs/extjs/' + extjsVersion + '/packages/charts/classic/triton/resources/charts-all.css'); + addStyleFile('//cdnjs.cloudflare.com/ajax/libs/font-awesome/' + fontAwesomeVersion + '/css/font-awesome.min.css'); addStyleFile('//cdnjs.cloudflare.com/ajax/libs/ol3/' + olVersion + '/ol.css'); |