Markaby is a module containing all of the great Markaby classes that do such an excellent job.
VERSION | = | File.read(version_file).strip | ||
RUBY_VERSION_ID | = | RUBY_VERSION.split(".").join.to_i | ||
FORM_TAGS | = | [ :form, :input, :select, :textarea ] | ||
SELF_CLOSING_TAGS | = | [ :base, :meta, :link, :hr, :br, :param, :img, :area, :input, :col, :frame ] | ||
AttrCore | = | [:id, :class, :style, :title] | Common sets of attributes. | |
AttrI18n | = | [:lang, 'xml:lang'.intern, :dir] | ||
AttrEvents | = | [:onclick, :ondblclick, :onmousedown, :onmouseup, :onmouseover, :onmousemove, :onmouseout, :onkeypress, :onkeydown, :onkeyup] | ||
AttrFocus | = | [:accesskey, :tabindex, :onfocus, :onblur] | ||
AttrHAlign | = | [:align, :char, :charoff] | ||
AttrVAlign | = | [:valign] | ||
Attrs | = | AttrCore + AttrI18n + AttrEvents |