for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
module Hyalite
module Component
module ShortHand
TAGS = %w(
a abbr address area article aside audio b base bdi bdo blockquote body br button button button button canvas caption
cite code col colgroup command datalist dd del details dfn div dl dt em embed fieldset figcaption figure footer form
h1 h2 h3 h4 h5 h6 head header hgroup hr html i iframe img input ins kbd keygen label legend li link map mark menu meta
meter nav noscript object ol optgroup option output p param pre progress q rp rt ruby s samp script section select small
source span strong style sub summary sup table tbody td textarea tfoot th thead time title tr track u ul var video wbr
)
def self.included(klass)
TAGS.each do |tag|
define_method(tag) do |props, *children|
Hyalite.create_element(tag, props, *children)
end
klass.extend ClassMethods
module ClassMethods
def el(props, *children)
Hyalite.create_element(self, props, *children)
def pp(obj)
puts obj.inspect