Sha256: b43be1f1f7644fcb44ab85fdb6794dffeb025d2fb685fde4d34b6db79e7c81c2

Contents?: true

Size: 270 Bytes

Versions: 4

Compression:

Stored size: 270 Bytes

Contents

module Slinky
  module CoffeeCompiler
    Compilers.register_compiler self,
    :inputs => ["coffee"],
    :outputs => ["js"],
    :dependencies => [["coffee-script", ">= 2.2.0"]]

    def CoffeeCompiler::compile s, file
      CoffeeScript::compile(s)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slinky-0.7.3 lib/slinky/compilers/coffee-compiler.rb
slinky-0.7.2 lib/slinky/compilers/coffee-compiler.rb
slinky-0.7.1 lib/slinky/compilers/coffee-compiler.rb
slinky-0.7.0 lib/slinky/compilers/coffee-compiler.rb