2.0.0 Release
The 2.0 release is finally here. There are many breaking API changes and lots of new features!
- Now create messages via
msngr("Topic", "Category", "DataType");
which then returns a message object you can then handle and emit. - Persist data so future handler additions receive the same message.
- Use
option("cross-window")
to allow your messages to cross tabs and windows within your web browser for the same domain (useful for multiple instances of a single web application). - All utilities now moved to directly top level
- More utilities added that allow you to test multiple things at once. Example:
msngr.isString("me");
andmsngr.areStrings("me", "yup", "weee");
. - EXTENSIVE documentation including the full exposed API, messaging patterns, browser features, how to extend and hack msngr.js and even rules about contributions.