Sha256: ddce255d1c97f87604047932f4e98bac893b3007c14cb943bc37622c542da597

Contents?: true

Size: 439 Bytes

Versions: 2

Compression:

Stored size: 439 Bytes

Contents

module Mdoc
  class Processor
    class JsSequence < Processor
      def process!(doc)
        doc.meta.footer_js_libs << './js/jquery.min.js'
        doc.meta.footer_js_libs << './js/raphael-min.js'
        doc.meta.footer_js_libs << './js/underscore-min.js'
        doc.meta.footer_js_libs << './js/sequence-diagram-min.js'
        doc.meta.footer_js_srcs << '$(".diagram").sequenceDiagram({theme: "hand"});'
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mdoc-0.0.11 lib/mdoc/processor/js_sequence.rb
mdoc-0.0.10 lib/mdoc/processor/js_sequence.rb