There is absolutely no difference between these two lines:

this.fireEvent('complete', data).fireEvent('success', data).callChain
();
this.fireEvent('complete', [data]).fireEvent('success',
[data]).callChain();

They both do the exact same thing. fireEvent can take as its second
argument a single item or an array of them. A single item is passed as
the argument, while an array is applied for several arguments.

On Mar 11, 5:58 am, alexg <[email protected]> wrote:
> Fantastic, thank you very much for this Guillermo,
>
> I would have filed this in the Lighthouse, but was convinced it was me
> doing something wrong!
>
> Alex

Reply via email to