HoriSun / closure-compiler

Automatically exported from code.google.com/p/closure-compiler
0 stars 0 forks source link

Patch for /contrib/externs/jquery-1.9.js #1203

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
update xhr requests success callback function signature
Data parameter of the success callback function may vary depends on the 
dataType parameter of the xhr request method.
For data type html, text, script it will be string, but for json or xml it will 
be Object. For getJSON it is always only Object.

Secondly as jquery documentation says:
success -> A callback function that is executed if the request succeeds. 
Required if dataType is provided, but can be null in that case.
http://api.jquery.com/jquery.post/#jQuery-post-url-data-successdata--textStatus-
-jqXHR-dataType

Original issue reported on code.google.com by ker...@gmail.com on 20 Jan 2014 at 11:16

Attachments:

GoogleCodeExporter commented 9 years ago
Issue tracking has been migrated to github. Please make any further comments on 
this issue through https://github.com/google/closure-compiler/issues

Original comment by blic...@google.com on 1 May 2014 at 6:31

GoogleCodeExporter commented 9 years ago

Original comment by blic...@google.com on 1 May 2014 at 6:34