Sha256: ad7219e52d512a4077fe3164274fd48fcbf2b7ddeeee1033d4d9b3f5eca1bfb6
Contents?: true
Size: 588 Bytes
Versions: 14
Compression:
Stored size: 588 Bytes
Contents
# -*- encoding : utf-8 -*- require 'uglifier' include Machine include MachineInput store_machine_output filetype: "js" machine_input do Uglifier.compile(format(:js)._render_core) end def clean_html? false end format do def chunk_list #turn off autodetection of uri's :inclusion_only end end format :html do view :editor, mod: Html::HtmlFormat view :content_changes, mod: CoffeeScript::HtmlFormat view :core do |args| highlighted_js = ::CodeRay.scan( _render_raw, :js ).div process_content highlighted_js end end def diff_args {format: :text} end
Version data entries
14 entries across 14 versions & 1 rubygems