Skip to content

Instantly share code, notes, and snippets.

@pvdz
Created July 3, 2014 10:31
Show Gist options
  • Save pvdz/f33a51dc7189d98efe23 to your computer and use it in GitHub Desktop.
Save pvdz/f33a51dc7189d98efe23 to your computer and use it in GitHub Desktop.
Right now the sub is never fired. If you uncomment the first line, both subs are fired.
// PubSub.subscribe('foo', function(name, value) {});
PubSub.publish('foo', 'bar');
PubSub.subscribe('foo', function(name, value) {});
@pvdz
Copy link
Author

pvdz commented Jul 3, 2014

Oh. Github didn't update. Great, should I file a ticket?

@mroderick
Copy link

Yeah, a ticket would be great!

Thanks!

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