Bubble up listening event to pushover. #4

Merged
merged 1 commit into from Feb 28, 2012

2 participants

@dshaw

Pushover#listen returns a server instance that you can attach event handlers to, but I think it adds noise to the code. Just bubble up the event so you can do:
pushy.listen()
pushy.on('listening', ƒ)

@substack substack merged commit 0cfddf8 into substack:master Feb 28, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment