Fix a type issue in jquery-1.7 externs
See https://github.com/google/closure-compiler/issues/176
This commit is contained in:
8
externs/jquery-1.7.js
vendored
8
externs/jquery-1.7.js
vendored
@@ -1017,16 +1017,16 @@ $.get = function(url, data, success, dataType) {};
|
||||
|
||||
/**
|
||||
* @param {string} url
|
||||
* @param {(Object.<string,*>|function(string,string,jQuery.jqXHR))=} data
|
||||
* @param {function(string,string,jQuery.jqXHR)=} success
|
||||
* @param {(Object.<string,*>|function(Object,string,jQuery.jqXHR))=} data
|
||||
* @param {function(Object,string,jQuery.jqXHR)=} success
|
||||
* @return {jQuery.jqXHR}
|
||||
*/
|
||||
jQuery.getJSON = function(url, data, success) {};
|
||||
|
||||
/**
|
||||
* @param {string} url
|
||||
* @param {(Object.<string,*>|function(string,string,jQuery.jqXHR))=} data
|
||||
* @param {function(string,string,jQuery.jqXHR)=} success
|
||||
* @param {(Object.<string,*>|function(Object,string,jQuery.jqXHR))=} data
|
||||
* @param {function(Object,string,jQuery.jqXHR)=} success
|
||||
* @return {jQuery.jqXHR}
|
||||
*/
|
||||
$.getJSON = function(url, data, success) {};
|
||||
|
||||
Reference in New Issue
Block a user