Skip to content

Commit

Permalink
Add event method that returns an empty object.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukemorton committed Nov 26, 2012
1 parent ca5fc93 commit 2d26ef0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/uniform.coffee
Expand Up @@ -91,6 +91,9 @@ class Uniform
else
norm_events[selector][event_type].push(callback)
return norm_events

# Events
events: -> {}

# Delegate an event with an array of callbacks
delegate_event = (event_type, selector, callbacks) ->
Expand Down

0 comments on commit 2d26ef0

Please sign in to comment.