Sha256: 5c9d19629bfa4368b49ff6966ce577b92cd20655b7dd864fe1f1409b5bf55170
Contents?: true
Size: 594 Bytes
Versions: 7
Compression:
Stored size: 594 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
7 entries across 7 versions & 1 rubygems