You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`popup`| Window | The popup reference returned by `window.open`|
186
186
187
187
#### `addTargetFrame(frame): boolean`
188
188
@@ -194,7 +194,7 @@ noop.
194
194
var frame =document.getElementById("my-iframe");
195
195
196
196
framebus.addTargetFrame(frame);
197
-
framebus.emit("hello targetted iframe!");
197
+
framebus.emit("hello targeted iframe!");
198
198
```
199
199
200
200
| Argument | Type | Description |
@@ -294,6 +294,12 @@ occur as follows:
294
294
6. Back on `http://emitter.example.com`, the `callback` is called and
295
295
unsubscribed from the special UUID event afterward.
296
296
297
+
### Upgrading past 5.x.x
298
+
299
+
If you are importing framebus via `import { Framebus } from 'framebus/dist/framebus'`, your functions may error out due to missing the `attach()` call done in `index.ts`. You may need to add an additional line, `import 'framebus/dist/index'` to ensure this call completes.
300
+
301
+
See [here](https://github.com/braintree/framebus/issues/115) for more details.
0 commit comments