Fixed bootstrap-slider

This commit is contained in:
nobody42 2020-03-26 07:22:09 +01:00
parent 6f13479c0e
commit ad349dc9ae
No known key found for this signature in database
GPG Key ID: AB5145CF05BFE119
6 changed files with 18 additions and 4 deletions

View File

@ -46,6 +46,7 @@ var files = {
// bootstrap-slider
'resources/bootstrap-slider/10.6.2/bootstrap-slider.min.cssm': true,
'resources/bootstrap-slider/10.6.2/bootstrap-slider.min.jsm': true,
// Dojo
'resources/dojo/1.14.1/dojo/dojo.jsm': true,

View File

@ -69,8 +69,9 @@ var mappings = {
'animate.css/{version}/animate.min.': resources.animateCSS,
'backbone.js/{version}/backbone.': resources.backbone,
'backbone.js/{version}/backbone-min.': resources.backbone,
'bootstrap-slider/{version}/css/bootstrap-slider.min.': resources.bootstrapSlider,
'bootstrap-slider/{version}/bootstrap-slider.min.': resources.bootstrapSlider,
'bootstrap-slider/{version}/css/bootstrap-slider.min.css': resources.bootstrapSliderCSS,
'bootstrap-slider/{version}/css/bootstrap-slider.css': resources.bootstrapSliderCSS,
'bootstrap-slider/{version}/bootstrap-slider.min.js': resources.bootstrapSliderJS,
'dojo/{version}/dojo.': resources.dojo,
'ember.js/{version}/ember.': resources.ember,
'ext-core/{version}/ext-core.': resources.extCore,

View File

@ -61,10 +61,14 @@ var resources = {
'type': 'text/css'
},
// bootstrap-slider (Slider for Bootstrap 3)
'bootstrapSlider': {
'bootstrapSliderCSS': {
'path': 'resources/bootstrap-slider/{version}/bootstrap-slider.min.cssm',
'type': 'text/css'
},
'bootstrapSliderJS': {
'path': 'resources/bootstrap-slider/{version}/bootstrap-slider.min.jsm',
'type': 'application/javascript'
},
// Dojo
'dojo': {
'path': 'resources/dojo/{version}/dojo/dojo.jsm',

View File

@ -214,8 +214,10 @@ helpers.determineResourceName = function (filename) {
return 'Bootstrap CSS';
case 'bootstrap.min.jsm':
return 'Bootstrap JS';
case 'bootstrap-slider.min.jsm':
return 'bootstrap-slider JS';
case 'bootstrap-slider.min.cssm':
return 'bootstrap-slider';
return 'bootstrap-slider CSS';
case 'dojo.jsm':
return 'Dojo';
case 'ember.min.jsm':

View File

@ -24,6 +24,7 @@
</div>
<ul>
<li>Added animate.css v3.7.2</li>
<li>Fixed bootstrap-slider</li>
</ul>
<div class="topic-label">
Please update your uBlock/uMatrix rules

File diff suppressed because one or more lines are too long