Dependency free publish/subscribe for JavaScript
MIT License
Bot releases are hidden (Show)
This release removes the jQuery plugin from the repository, but doesn't make ANY changes to the API of the library, and has therefore not become a MAJOR
release.
The motivation for the housekeeping was to make it easier for contributors to get their pull requests merged, by not having to battle obsoleted dependencies (buster
, jslint
, phantomjs
).
[email protected]
mocha
jslint
version (could not install on Travis anymore) with latest eslint
Published by mroderick about 8 years ago
This release has a minor bug fix to unsubscribing hierarchies.
From https://github.com/mroderick/PubSubJS/pull/97
PubSub.subscribe('a', myFunc1);
PubSub.subscribe('a.b', myFunc2);
PubSub.subscribe('a.b.c', myFunc3);
PubSub.unsubscribe('a.b');
// no further notications for 'a.b' and 'a.b.c' topics
// notifications for 'a' will still get published
Thanks to @jbutz for the investigation and the fix
Published by mroderick over 9 years ago
Fixes an issue https://github.com/mroderick/PubSubJS/pull/71 with clearing subscriptions by the topic, making it match the documentation https://github.com/mroderick/PubSubJS#clear-all-subscriptions-for-a-topic
Published by mroderick over 9 years ago
Fixes an issue with immediateExceptions not working with namespaces https://github.com/mroderick/PubSubJS/pull/75
Published by mroderick about 10 years ago
clearSubscriptions
method that clears all subscriptionsPubSub.unsubscribe('mytopic');
Published by mroderick over 10 years ago
Published by mroderick over 10 years ago
This release fixes a bug where more specific topic subscribers (rabbit.jumped
) would not get notified if a top level subscriber (rabbit
) didn't exist.
Published by mroderick about 11 years ago
Since PubSubJS is now available through both npm and bower, it's easy enough to programmatically determine which version you have, so I've removed the version
and name
properties from the PubSub
object.
Published by mroderick about 11 years ago
Published by mroderick about 11 years ago
Fixes #26
This release is recommended for everyone
Published by mroderick over 11 years ago
publish
will now return false, when all subscribers for a topic has been removed.