[ 
https://issues.apache.org/jira/browse/THRIFT-1514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13273074#comment-13273074
 ] 

Andrew Grumet commented on THRIFT-1514:
---------------------------------------

Yeah, didn't mean to surprise.

Here is more background.  After switching the code to use an ajax converter, 
the deferreds served only to remap callback arguments.  Taking that out meant 
that client code would get back a jqXHR.  So my equation was: less code + 
familiar return object > compat in this case.  But it was absolutely one 
person's judgement call.

Happy to discuss some more, and help rework the patch if this doesn't work for 
you guys.


                
> Callbacks with newer jQuery versions don't work
> -----------------------------------------------
>
>                 Key: THRIFT-1514
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1514
>             Project: Thrift
>          Issue Type: Bug
>          Components: JavaScript - Library
>    Affects Versions: 0.9
>            Reporter: Kenny
>            Assignee: Andrew Grumet
>            Priority: Minor
>         Attachments: THRIFT-1514.patch
>
>
> When using jQuery 1.7.1 callbacks don't work. The following error is returned:
> TypeError: Object function ( selector, context ) { // The jQuery object is 
> actually just the init constructor 'enhanced' return new jQuery.fn.init( 
> selector, context, rootjQuery ); } has no method '_Deferred'
> It seems _Deferred no longer exists.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to