The **getSubscriptions** method returns an array with the topic string used as input. I think it should return an array with all subscriptions associated to that topic. I´ve created a PR with a fix: https://github.com/mroderick/PubSubJS/pull/192
The getSubscriptions method returns an array with the topic string used as input.
I think it should return an array with all subscriptions associated to that topic.
I´ve created a PR with a fix: #192