Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Component-CajaJS Usability

New issue 1906 by [email protected]: Better error if onFailure is not supplied to caja.initialize.
http://code.google.com/p/google-caja/issues/detail?id=1906

caja.initialize blindly calls onFailure if initialization fails, resulting in an "undefined is not a function" uncaught error. In order to help out new Caja users who might often see this error, we should explicitly check if the failure callback was not provided and log an appropriate error instead.

--
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/d/optout.

Reply via email to