From 64d6d70480ca11ebf36d382b6122cc17fa550f5c Mon Sep 17 00:00:00 2001 From: Kameron Kenny Date: Thu, 20 Jun 2019 14:00:01 -0400 Subject: [PATCH] testing --- punch_list/eventManage.js | 9 +++++++++ punch_list/index.html | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/punch_list/eventManage.js b/punch_list/eventManage.js index c4aa646..b2497f0 100644 --- a/punch_list/eventManage.js +++ b/punch_list/eventManage.js @@ -410,5 +410,14 @@ function onSignIn(googleUser) { console.log('Name: ' + profile.getName()); console.log('Image URL: ' + profile.getImageUrl()); console.log('Email: ' + profile.getEmail()); // This is null if the 'email' scope is not present. + getJson(); } +function signOut() { + var auth2 = gapi.auth2.getAuthInstance(); + auth2.signOut().then(function () { + console.log('User signed out.'); + }); +} + + diff --git a/punch_list/index.html b/punch_list/index.html index dd61ba1..ead4f8a 100644 --- a/punch_list/index.html +++ b/punch_list/index.html @@ -26,9 +26,11 @@ - +
+ +