Skip to content

Commit

Permalink
Removed alternate folio viewer used as test
Browse files Browse the repository at this point in the history
  • Loading branch information
Anusha Ranganathan committed Jun 19, 2016
1 parent a3194c7 commit 53bdeb5
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 256 deletions.
2 changes: 1 addition & 1 deletion app/assets/javascripts/application.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// require turbolinks
// For Mirador viewer
//= require mirador
//= require openseadragon-viewerinputhook
// require openseadragon-viewerinputhook
// For scaling fonts
//= require flowtype
// Required by Blacklight
Expand Down
2 changes: 1 addition & 1 deletion app/assets/javascripts/folio_viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ $(function() {
$.subscribe('imageRectangleUpdated', image_rect_updated_handle);
$.subscribe('focusUpdated', focus_updated_handle);
// $.subscribe('windowAdded', window_added_handle);
$.subscribe('imageBoundsUpdated', image_bounds_handle);
// $.subscribe('imageBoundsUpdated', image_bounds_handle);

function image_rect_updated_handle(event, data) {
var win_id = data['id'];
Expand Down
98 changes: 0 additions & 98 deletions app/assets/javascripts/test_viewer.js

This file was deleted.

86 changes: 0 additions & 86 deletions app/controllers/test_controller.rb

This file was deleted.

45 changes: 0 additions & 45 deletions app/views/test/_description.html.erb

This file was deleted.

4 changes: 0 additions & 4 deletions app/views/test/_manifest.html.erb

This file was deleted.

20 changes: 0 additions & 20 deletions app/views/test/show.html.erb

This file was deleted.

1 change: 0 additions & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
resources :manuscript, only: :show do
# adding constraint as folio may have dots and should not be considered as formatted route
resources :folio, only: :show, constraints: { id: /[^\/]+/ }
resources :test, only: :show, constraints: { id: /[^\/]+/ }
match 'folio/:id/folio_label', to: 'folio#folio_label', constraints: { id: /[^\/]+/ }, via: :get
end
get '/manuscript/:id/related_content', to: 'manuscript#related_content'
Expand Down

0 comments on commit 53bdeb5

Please sign in to comment.