lib/onfire.rb in nilclass-onfire-0.1.2.nc vs lib/onfire.rb in nilclass-onfire-0.1.3.nc

- old
+ new

@@ -12,11 +12,11 @@ end attach_event_handler(options[:do], table_options) end - def fire(event_type) - bubble_event Event.new(event_type, self) + def fire(event_type, data=nil) + bubble_event Event.new(event_type, self, data) end def bubble_event(event) process_event(event) # locally process event, then climb up. return if root?