Sha256: 27009755c5efc023a93757a8349a9be52b2fb02292f22f60e9db9dcd77fa2a75
Contents?: true
Size: 261 Bytes
Versions: 2
Compression:
Stored size: 261 Bytes
Contents
require 'coffee-script' module Slinky module CoffeeCompiler Server.register_compiler self, :inputs => ["coffee"], :outputs => ["js"] def CoffeeCompiler::compile file s = File.read(file) CoffeeScript::compile(s) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
slinky-0.2.1 | lib/slinky/compilers/coffee-compiler.rb |
slinky-0.2.0 | lib/slinky/compilers/coffee-compiler.rb |