opal/browser/event/pop_state.rb in opal-browser-0.2.0 vs opal/browser/event/pop_state.rb in opal-browser-0.3.0
- old
+ new
@@ -1,7 +1,9 @@
module Browser; class Event
class PopState < Event
+ handles 'popstate'
+
def self.supported?
Browser.supports? 'Event.PopState'
end
class Definition < Definition