Skip to content

Commit

Permalink
Merge pull request #3378 from projectblacklight/osd-install
Browse files Browse the repository at this point in the history
Run the OpenSeadragon rails installer
  • Loading branch information
jcoyne authored Dec 20, 2024
2 parents f7a4498 + c59ec81 commit a820963
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions app/views/layouts/spotlight/base.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,11 @@
<%= javascript_include_tag 'leaflet-iiif', "data-turbo-track": "reload", defer: true %>
<%= javascript_include_tag 'Leaflet.Editable', "data-turbo-track": "reload", defer: true %>
<%= javascript_include_tag 'Path.Drag', "data-turbo-track": "reload", defer: true %>
<%= javascript_include_tag 'openseadragon/openseadragon', "data-turbo-track": "reload", defer: true %>
<%= javascript_include_tag 'openseadragon/jquery', "data-turbo-track": "reload", defer: true %>
<% if defined? Importmap %>
<%= javascript_importmap_tags %>
<% else %>
<%= javascript_include_tag "application", "data-turbo-track": "reload", defer: true %>
<% end %>
<%= javascript_include_tag 'openseadragon/rails', "data-turbo-track": "reload", defer: true %>
<%= csrf_meta_tags %>
<%= content_for(:head) %>
<% if @document %>
Expand Down
1 change: 0 additions & 1 deletion lib/spotlight/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ class Engine < ::Rails::Engine

initializer 'spotlight.assets.precompile' do |app|
app.config.assets.paths << Engine.root.join('app/javascript')
app.config.assets.paths << Rails.root.join('node_modules')
app.config.assets.precompile += PRECOMPILE_ASSETS
end

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"jquery-serializejson": "^3.2.1",
"leaflet": "^1.9.4",
"leaflet-iiif": "^3.0.0",
"openseadragon-rails": "^1.0.1",
"sir-trevor": "^0.8.2",
"sortablejs": "^1.15.3"
}
Expand Down

0 comments on commit a820963

Please sign in to comment.