On Mon, 30 Jan 2012, Ian Booth wrote:
> Hello
...
> 1. Event propagation across YUI instances
>
> When subscribing to events which are to be broadcast across instances,
> here's how to do it:
>
> // In the subscribing instance...
> Y.Global.on('event_name', function(e) {
> // code goes here
> });
>
> To get the event to fire and be correctly broadcast, we first need to
> publish it using the correct parameters:
>
> // In the publishing instance....
> Y.publish(
> 'event_name',
> {broadcast: 2,
> emitFacade: true
> }
> );
Ian, is this just because the events are fired and listened to off the Y
instance? Did you see if these events were fired with respect to a DOM
element do they still suffer the YUI() sandboxing issue?
--
Rick Harding
Launchpad Developer
https://launchpad.net/~rharding
@mitechie
_______________________________________________
Mailing list: https://launchpad.net/~launchpad-dev
Post to : [email protected]
Unsubscribe : https://launchpad.net/~launchpad-dev
More help : https://help.launchpad.net/ListHelp