opal/browser/event/sensor.rb in opal-browser-0.2.0 vs opal/browser/event/sensor.rb in opal-browser-0.3.0

- old
+ new

@@ -1,7 +1,9 @@ module Browser; class Event class Sensor < Event + handles 'compassneedscalibration', 'userproximity' + def self.supported? Browser.supports? 'Event.Sensor' end if Browser.supports? 'Event.constructor'