for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
module Hyalite::DOM
module EventTarget
def on(name, &block)
callback = Proc.new{|event| block.call(Event.create(event))}
`#@native.addEventListener(name, callback)`
end