Sha256: 39ec5951ffab88d7e6537fb8418af3376bbdb56c4285d6fb8d5e6a0eb93606c1
Contents?: true
Size: 296 Bytes
Versions: 2
Compression:
Stored size: 296 Bytes
Contents
module Browser; class Event class BeforeUnload < Event def self.supported? Browser.supports? 'Event.BeforeUnload' end if Browser.supports? 'Event.constructor' def self.construct(name, desc) `new BeforeUnloadEvent(#{name}, #{desc})` end end if supported? end end; end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
diamonds-0.1.5 | lib/diamonds/opal/browser/event/before_unload.rb |
opal-browser-0.2.0 | opal/browser/event/before_unload.rb |