Sha256: a72480f63754ba55345bae54f12e8cebf24756c38e3956a00e3259c283677279
Contents?: true
Size: 280 Bytes
Versions: 3
Compression:
Stored size: 280 Bytes
Contents
require 'opal' module Jekyll module Converters class Opal < Converter def matches(ext) !!(ext =~ /\.opal/i) end def output_ext(ext) ".js" end def convert(content) ::Opal.compile(content) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jekyll-opal-0.3.0 | lib/jekyll/converters/opal.rb |
jekyll-opal-0.2.0 | lib/jekyll/converters/opal.rb |
jekyll-opal-0.1.0 | lib/jekyll/converters/opal.rb |