Sha256: bacdec8ae8def1c1da5d33a0b5dd796f9a6234489845f191d4a780f855717c0c

Contents?: true

Size: 807 Bytes

Versions: 1

Compression:

Stored size: 807 Bytes

Contents

# -*- encoding : utf-8 -*-
class Card; module Set; class Right
# Set: All "+Script" cards
#
module Script;
extend Card::Set
def self.source_location; "/Users/ezl5238/dev/decko/gem/mod/script/set/right/script.rb"; end
def ok_to_read
  true
end

view :javascript_include_tag do
  item_cards.map do |script|
    script.format(:html).render :javascript_include_tag
  end
end

def update_if_source_file_changed
  item_cards.each do |item_card|
    item_card.try(:update_if_source_file_changed)
  end
end

module HtmlFormat; module_parent.send :register_set_format, Card::Format::HtmlFormat, self; extend Card::Set::AbstractFormat
  def raw_help_text
    "JavaScript (or CoffeeScript) for card's page."
  end
end
end;end;end;end;
# ~~ generated from /Users/ezl5238/dev/decko/gem/mod/script/set/right/script.rb ~~

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
card-1.102.0 tmpsets/set/mod016-script/right/script.rb