Updates:
        Owner: [email protected]
        Labels: -Type-Defect Type-DocDefect

Comment #1 on issue 1711 by kpreid.switchb.org: Tame object found on feral side of taming membrane: [object Object]. The membrane has previously been compromised.
http://code.google.com/p/google-caja/issues/detail?id=1711

Looks like a docs bug to me. 'registerListener' is a marked feral function, so the 'l' it stuffs in the array is a feral wrapper, so calling caja.tame on its arguments (as claimed to be mandatory by note (5)) is formerly redundant and now prohibited.

To fix this, just delete the line 'var tamedEvent = caja.tame(event);' and change 'listeners[i](tamedEvent);' to 'listeners[i](event);'

Ihab: Please update the example. I would also suggest moving the other remaining caja.tame inside the .api() so that there is less area of the code containing tame-side objects.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--

--- You received this message because you are subscribed to the Google Groups "Google Caja Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to