Merge pull request #1006 from Diullei/fix-gapi

fix - gapi test failure
This commit is contained in:
Diullei Gomes
2013-09-05 18:29:27 -07:00
2 changed files with 388 additions and 388 deletions
+385 -385
View File
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -104,10 +104,10 @@ declare module gapi.client {
* If supplied, the request is executed immediately and no gapi.client.HttpRequest object is returned
*/
callback?: () => any;
}): HttpRequest;
}): HttpRequest<any>;
/**
* Creates an RPC Request directly. The method name and version identify the method to be executed and the RPC params are provided upon RPC creation.
* @param method The method to be executed.
* @param method The method to be executed.
* @param version The version of the API which defines the method to be executed. Defaults to v1
* @param rpcParams A key-value pair of the params to supply to this RPC
*/
@@ -187,7 +187,7 @@ declare module gapi.client {
* Similar to gapi.client.HttpRequest except this object encapsulates requests generated by registered methods.
*/
export class RpcRequest {
/**
* Executes the request and runs the supplied callback with the response.
* @param callback The callback function which executes when the request succeeds or fails.