Skip to content

Commit

Permalink
Merge pull request #224 from cul/dlc-1012_remove-unused-classes
Browse files Browse the repository at this point in the history
Dlc 1012 remove unused classes
  • Loading branch information
barmintor authored Jul 23, 2024
2 parents fdd614a + 6d4ec2c commit 52a8ead
Show file tree
Hide file tree
Showing 41 changed files with 59 additions and 848 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
# frozen_string_literal: true

module Dcv::ContentAggregator
class MultiPartResourceComponent < ViewComponent::Base
include Dcv::Components::ActiveFedoraDocumentBehavior
include Dcv::Components::StructuredChildrenBehavior
class ArchiveOrgComponent < BaseMiradorComponent

delegate :archive_org_id_for_document, :get_manifest_url, to: :helpers

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

module Dcv::ContentAggregator
class PagedResourceComponent < ViewComponent::Base
class BaseMiradorComponent < ViewComponent::Base
include Dcv::Components::ActiveFedoraDocumentBehavior
include Dcv::Components::StructuredChildrenBehavior

Expand All @@ -12,10 +12,6 @@ def initialize(document:, **_opts)
@document = document
end

def render?
@document['iiif_behavior_ssim']&.include?("paged")
end

def iiif_manifest
get_manifest_url(@document)
end
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 52a8ead

Please sign in to comment.