Sha256: 02a0f336eab06a63a52ff278caf1f3e264aff91644c87f2cd2c8deb4a6844e31

Contents?: true

Size: 936 Bytes

Versions: 1

Compression:

Stored size: 936 Bytes

Contents

# -*- encoding : utf-8 -*-
class Card; module Set; class Abstract
# Set: Abstract (AssetCoffeeScript)
#
# -*- encoding : utf-8 -*-
module AssetCoffeeScript;
extend Card::Set
def self.source_location; "/Users/ezl5238/dev/decko/gem/mod/script/set/abstract/asset_coffee_script.rb"; end

require "coffee-script"

include_set Abstract::AssetFile

def compress_js?
  @minimize
end

module JsFormat; module_parent.send :register_set_format, Card::Format::JsFormat, self; extend Card::Set::AbstractFormat
  view :source do
    if @local
      card.machine_output_url
    else
      source
    end
  end
end

module HtmlFormat; module_parent.send :register_set_format, Card::Format::HtmlFormat, self; extend Card::Set::AbstractFormat
  view :javascript_include_tag do
    javascript_include_tag card.machine_output_url
  end
end
end;end;end;end;
# ~~ generated from /Users/ezl5238/dev/decko/gem/mod/script/set/abstract/asset_coffee_script.rb ~~

Version data entries

1 entries across 1 versions & 1 rubygems

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