Commit Graph

4 Commits

Author SHA1 Message Date
Andy
924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
Franklin Yu
d2bf223394 [gapi.auth2] Fix parameter according to latest official documentation (#17816)
* [gapi.auth2] Fix parameter type of callback

According to the [documentation][]:

> The function called with the `GoogleAuth` object when it is fully
> initialized.

[documentation]: https://developers.google.com/identity/sign-in/web/reference#googleauththenoninit-onerror

* [gapi.auth2] Convert documentation to type

Types are better than description in documentation.

* [gapi.auth2] Add parameter to `gapi.auth2.init()`

See [official documentation][].

[official documentation]: https://developers.google.com/identity/sign-in/web/reference#gapiauth2initparams

* [gapi.auth2] Fix indentation

This change is best viewed with "histogram" or "patience" diffing
algorithm.

* [gapi.auth2] Add test and fix a bug

* [gapi.auth2] Add linting
2017-07-18 14:25:00 -07:00
Mykhailo96
53ada7c0c2 reloadAuthResponse for gapi.auth2 (#16061) 2017-04-26 11:34:36 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00