MCPcopy Create free account
hub / github.com/codecombat/codecombat / renderButtons

Method renderButtons

app/core/social-handlers/GPlusHandler.js:170–173  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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({

Callers

nothing calls this directly

Calls 1

goMethod · 0.80

Tested by

no test coverage detected