Sha256: a5a2be01a81eae349187e39b8d0085addb2ec517b75801f765346a7f2059628f

Contents?: true

Size: 653 Bytes

Versions: 10

Compression:

Stored size: 653 Bytes

Contents

include_set Abstract::ReadOnly
include_set Abstract::ManifestGroup

basket[:non_createable_types] << :remote_manifest_group

def local?
  @local = false
end

def minimize?
  @minimize = false
end

def paths
  return [] unless left

  left.manifest_group_items group_name
end

def item_names _content=nil
  paths
end

def content
  paths.join "\n"
end

format :html do
  view :javascript_include_tag do
    paths.map do |path|
      javascript_include_tag path
    end.join("\n")
  end

  view :stylesheet_include_tag do
    paths.map do |path|
      tag "link", href: path, media: "all", rel: "stylesheet", type: "text/css"
    end.join("\n")
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
card-mod-assets-0.17.0 set/type/remote_manifest_group.rb
card-mod-assets-0.16.0 set/type/remote_manifest_group.rb
card-mod-assets-0.15.6 set/type/remote_manifest_group.rb
card-mod-assets-0.15.5 set/type/remote_manifest_group.rb
card-mod-assets-0.15.4 set/type/remote_manifest_group.rb
card-mod-assets-0.15.3 set/type/remote_manifest_group.rb
card-mod-assets-0.15.2.pre1 set/type/remote_manifest_group.rb
card-mod-assets-0.15.1.1 set/type/remote_manifest_group.rb
card-mod-assets-0.15.1 set/type/remote_manifest_group.rb
card-mod-assets-0.15.0 set/type/remote_manifest_group.rb