for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
module Hyalite::DOM
class Window
include Native
include EventTarget
native_reader :document
def location
Native(`#@native.location`)
end
def width
`#@native.innerWidth`
def height
`#@native.innerHeight`
def self.singleton
@singleton ||= self.new(`window`)