Releases: braintree/framebus
Releases · braintree/framebus
2.0.5
2.0.4
2.0.3
2.0.1
-
Do not throw exceptions
window.opener
existed but has already closed. -
Do not throw exceptions when a
frame.postMessage
is denied. -
Exceptions are no longer thrown when
publish
,subscribe
orunsubscribe
were invoked directly.var publish = framebus.publish; publish('event');
2.0.0
- Breaking changes:
- use of
origin
as a parameter forpublish
,subscribe
andunsubscribe
has been moved to the chaining-functiontarget(origin)
- use of
- Added:
- events can be published with multiple arguments. If the last argument is a function, it is treated as a callback that subscribers can call.
include(popup)
adds popups to the listing of frames to be messaged.window.opener
will now be included in framebus messaging, if available.
First release
Although we have been using this internally and in production for some time, this is our first public release!