PubSub eventbus as jQuery plugin
Adapted from https://davidwalsh.name/pubsub-javascript
Usage
$.fn.eventbus.publish(topic, info);
$.fn.eventbus.subscribe(topic, listener);
Please
register
or
sign in
to comment
Adapted from https://davidwalsh.name/pubsub-javascript
Usage
$.fn.eventbus.publish(topic, info);
$.fn.eventbus.subscribe(topic, listener);