Add reset functionality #5

Merged
merged 3 commits into from Jun 23, 2012

2 participants

@mahemoff

I needed a way to reset state for a HIJAX/PJAX app where "fake" page refreshes introduce a new context and effectively a new application (live at http://player.fm).

@uxder
Owner

Hey mahemoff,

Looks great. Can you move the reset method above the comments for the broadcast method and I think it is good.

https://github.com/mahemoff/Radio/blob/master/radio.js#L59

Thank you~~!

Scott

@mahemoff

@uxder glad you can add it, that should be done now.

@uxder
Owner

Thanks~! @mahemoff

@uxder uxder merged commit d9b7c93 into uxder:master Jun 23, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment