Sha256: 3c62d590b1d8965f545a0e64e5ba694f961bdf670b5b5079bdeeec1b0cc88ae0
Contents?: true
Size: 441 Bytes
Versions: 10
Compression:
Stored size: 441 Bytes
Contents
Coprl::Presenters.define(:script, namespace: :plugins) do helpers Demo::Helpers::IndentedGrid attach :top_nav attach :plugin_drawer plugin :script page_title 'Script' script inline: <<~JAVASCRIPT alert( 'Hello, world!' ); JAVASCRIPT indented_grid do subheading 'You can write arbitrary javascript using the script component. For example, the alert you just dismissed.' attach :code, file: __FILE__ end end
Version data entries
10 entries across 10 versions & 1 rubygems