Skip to content

Releases: braintree/framebus

2.0.5

16 Jun 16:06
Compare
Choose a tag to compare

Only traverse openers when on the top-level frame

2.0.4

21 Dec 18:45
Compare
Choose a tag to compare
  • Avoid exceptions while broadcasting events

2.0.3

10 Sep 20:17
Compare
Choose a tag to compare
  • Fixes an infinite recursion bug when window.opener === window

2.0.1

18 Aug 23:44
Compare
Choose a tag to compare
  • 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 or unsubscribe were invoked directly.

      var publish = framebus.publish;
      publish('event');

2.0.0

22 Jun 22:29
Compare
Choose a tag to compare
  • Breaking changes:
    • use of origin as a parameter for publish, subscribe and unsubscribe has been moved to the chaining-function target(origin)
  • 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

16 Apr 18:20
Compare
Choose a tag to compare

Although we have been using this internally and in production for some time, this is our first public release!