()
| 168 | } |
| 169 | |
| 170 | renderButtons () { |
| 171 | if ((typeof gapi !== 'undefined' && gapi !== null ? gapi.plusone : undefined) == null) { return false } |
| 172 | return (typeof gapi.plusone.go === 'function' ? gapi.plusone.go() : undefined) // Handles +1 button |
| 173 | } |
| 174 | |
| 175 | requestGoogleAuthorization (scope, callbackFn) { |
| 176 | const authClient = window.google.accounts.oauth2.initTokenClient({ |