Status: Accepted
Owner: kpreid.switchb.org
Labels: Type-Defect Priority-Medium

New issue 1763 by kpreid.switchb.org: jQuery JSONP fails
http://code.google.com/p/google-caja/issues/detail?id=1763

     $.ajax({
        url: ...,
        dataType: 'jsonp',
        success: ...
     });

will fail like

TypeError: Property 'caja_dynamic_script0___' of object [object Object] is not a function

Given that I see no other way for the dynamic script callback to be undefined, I am guessing that jQuery is cloning script nodes (which we don't make any effort to support) so that the same callback ID is reused.

--
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