Mercurial > hg > soundsoftware-site
annotate .svn/pristine/70/70fcc81fd15a480f7d8ac6f47bf3e67d8c9739ca.svn-base @ 1458:b1f4c9a2af24 bug_794
Makes the default radio button checked by default -- this should fix bug #794.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Mon, 11 Nov 2013 18:25:22 +0000 |
parents | cbb26bc654de |
children |
rev | line source |
---|---|
Chris@909 | 1 module CodeRay |
Chris@909 | 2 module Encoders |
Chris@909 | 3 |
Chris@909 | 4 load :html |
Chris@909 | 5 |
Chris@909 | 6 # Wraps the output into a HTML page, using CSS classes and |
Chris@909 | 7 # line numbers in the table format by default. |
Chris@909 | 8 # |
Chris@909 | 9 # See Encoders::HTML for available options. |
Chris@909 | 10 class Page < HTML |
Chris@909 | 11 |
Chris@909 | 12 FILE_EXTENSION = 'html' |
Chris@909 | 13 |
Chris@909 | 14 register_for :page |
Chris@909 | 15 |
Chris@909 | 16 DEFAULT_OPTIONS = HTML::DEFAULT_OPTIONS.merge \ |
Chris@909 | 17 :css => :class, |
Chris@909 | 18 :wrap => :page, |
Chris@909 | 19 :line_numbers => :table |
Chris@909 | 20 |
Chris@909 | 21 end |
Chris@909 | 22 |
Chris@909 | 23 end |
Chris@909 | 24 end |