Skip to content

Commit

Permalink
Merge pull request #252 from projectblacklight/rollup-again
Browse files Browse the repository at this point in the history
Compile the javascript with rollup
  • Loading branch information
aaron-collier authored Feb 2, 2024
2 parents 6e944c3 + 9ef6ce0 commit c7a5397
Show file tree
Hide file tree
Showing 15 changed files with 1,207 additions and 13 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ Gemfile.lock
/pkg
/tmp
/.bundle
/node_modules
9 changes: 2 additions & 7 deletions app/assets/javascripts/blacklight_range_limit.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,10 @@
//= require 'flot/jquery.flot.selection.js'
//= require 'bootstrap-slider'

// Ensure that range_limit_shared is loaded first
//= require 'blacklight_range_limit/range_limit_shared'
//= require 'blacklight_range_limit/range_limit_plotting'
//= require 'blacklight_range_limit/range_limit_slider'
//= require 'blacklight_range_limit/range_limit_distro_facets'
//= require 'blacklight_range_limit/blacklight_range_limit.umd'

Blacklight.onLoad(function() {
// Support for Blacklight 7 and 8:
modalSelector = Blacklight.modal?.modalSelector || Blacklight.Modal.modalSelector
BlacklightRangeLimit.initializeDistroFacets(modalSelector)
BlacklightRangeLimit.initializeSlider(modalSelector)
BlacklightRangeLimit.initialize(modalSelector)
})
Loading

0 comments on commit c7a5397

Please sign in to comment.