unsubscribe_all method, a nice alias, and whitespace fixes #1

Merged
merged 3 commits into from Sep 9, 2012

Projects

None yet

2 participants

@ttencate

Thanks for this shiny little gem! Here are some improvements that I needed, hope you like 'em :)

@shawn42 shawn42 merged commit 84abc31 into atomicobject:master Sep 9, 2012
@shawn42
Atomic Object member

Thanks @ttencate I like the jquery style of the off method. I've also monkey patched unsubscribe_all many-a-times. Great contributions.

@ttencate

Yes, that was indeed inspired by jQuery. If we're going to have 'on', we might as well have 'off' as well :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment