Skip to content

Commit

Permalink
Update UV to latest Dev version.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpendragon committed Nov 22, 2016
1 parent dc9309a commit 7755bba
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ gem 'sprockets-es6'
gem 'sprockets-rails', '~> 2.3.3'
gem 'sprockets', '~> 3.5.0'
gem 'almond-rails', '~> 0.0.3'
gem 'pul_uv_rails', github: 'pulibrary/pul_uv_rails', tag: 'v1.7.27'
gem 'pul_uv_rails', github: 'pulibrary/pul_uv_rails', branch: 'master'
gem 'riiif'

# PUL Assets
Expand Down
6 changes: 3 additions & 3 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ GIT

GIT
remote: git://github.com/pulibrary/pul_uv_rails.git
revision: 4ae89c38c86cb3479374139df2dc19d6016597a1
tag: v1.7.27
revision: 7060d5eac7005573a93aac0335b365e29a576a54
branch: master
specs:
pul_uv_rails (1.7.27)
pul_uv_rails (1.8.42)

GIT
remote: git://github.com/pulibrary/spotlight-resources-iiif.git
Expand Down
2 changes: 1 addition & 1 deletion app/views/catalog/_universal_viewer_default.html.erb
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<div class="uv viewer" data-uri="<%= document.fetch(Spotlight::Resources::Iiif::Engine.config.iiif_manifest_field) %>"></div>
<div class="uv viewer" data-config="/uv_config.json" data-uri="<%= document.fetch(Spotlight::Resources::Iiif::Engine.config.iiif_manifest_field) %>"></div>
<%= PulUvRails::UniversalViewer.script_tag %>
13 changes: 13 additions & 0 deletions public/uv_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"modules":
{
"pagingHeaderPanel":
{
"options":
{
"autoCompleteBoxEnabled": false,
"imageSelectionBoxEnabled": true
}
}
}
}

0 comments on commit 7755bba

Please sign in to comment.