Add bowser.js

This commit is contained in:
Calum McConnell 2021-04-27 09:42:26 -04:00
parent f10ce62b2b
commit 15c588489e
No known key found for this signature in database
GPG Key ID: EFF5E1D7E0CD9B32
4 changed files with 12 additions and 0 deletions

View File

@ -241,6 +241,7 @@ mappings.cdn = {
'bootstrap-vue/{version}/bootstrap-vue.min.css': resources.bootstrapVueCSS,
'bootstrap-vue/{version}/bootstrap-vue.css': resources.bootstrapVueCSS,
'bootstrap-3-typeahead/{version}/bootstrap3-typeahead.': resources.bootstrap3Typeahead,
'bowser/{version}/': resources.bowserJS,
'bulma/{version}/css/bulma.': resources.bulma,
'Chart.js/{version}/Chart.bundle.': resources.chartJs,
'Chart.js/{version}/Chart.min.js': resources.chartJs,
@ -472,6 +473,8 @@ mappings.cdn = {
'bootstrap-vue@{version}/dist/bootstrap-vue.css': resources.bootstrapVueCSS,
'bootstrap-vue@{version}/dist/bootstrap-vue.min.js': resources.bootstrapVueJS,
'bootstrap-vue@{version}/dist/bootstrap-vue.js': resources.bootstrapVueJS,
'bowser@{version}/bundled.js' : resources.bowserJS,
'bowser@{version}/es5.js' : resources.bowserJS,
'bulma@{version}/css/bulma.': resources.bulma,
'chart.js@{version}': resources.chartJs,
'clipboard@{version}/dist/clipboard.': resources.clipboardJS,

View File

@ -252,6 +252,10 @@ var resources = {
'bootstrapVueCSS': {
'path': 'resources/bootstrap-vue/{version}/bootstrap-vue.min.css'
},
// Bowser.js
'bowserJs': {
'path': 'resources/bowser/{version}/bundled.min.jsm'
},
// Bulma
'bulma': {
'path': 'resources/bulma/{version}/css/bulma.min.css'

View File

@ -205,6 +205,9 @@ targets.setLastVersion = function (type, version) {
return '2.21.2';
} else if (type.startsWith('/bootstrap-3-typeahead/4.')) {
return '4.0.2';
} else if (type.startsWith('/bowser/2.')) {
return '2.11.0'
}
} else if (type.startsWith('/bulma/0.')) {
return '0.9.2';
} else if (type.startsWith('/Chart.js/2.')) {
@ -610,6 +613,7 @@ const ListOfFiles = {
'ajax-bootstrap-select.min.jsm': 'Ajax Bootstrap Select',
'bootstrap-vue.min.jsm': 'BootstrapVue (JS)',
'bootstrap-vue.min.css': 'BootstrapVue (CSS)',
'bowser.min.js': 'Bowser',
'mirage2.min.jsm': 'mirage2',
'chosen.jquery.min.jsm': 'chosen',
'nouislider.min.jsm': 'noUiSlider (JS)',

File diff suppressed because one or more lines are too long