summaryrefslogtreecommitdiff
path: root/src/scripts/user.ts
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-01-27 09:40:41 +0100
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-01-27 09:40:41 +0100
commitbf6df85449fa3f2df98fabefed9d7e46be066c42 (patch)
tree258747c62bbeef6835b31cfade34d3fbe28129cf /src/scripts/user.ts
parentb0b5253f66f5ba6e031f5a88dc1bef613517b3b6 (diff)
Implement incremental TS compilation for watching
Diffstat (limited to 'src/scripts/user.ts')
-rw-r--r--src/scripts/user.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/scripts/user.ts b/src/scripts/user.ts
index 7b157603..66e44b21 100644
--- a/src/scripts/user.ts
+++ b/src/scripts/user.ts
@@ -30,7 +30,7 @@ window["___gcfg"] = {
};
/**
- * Google signin button
+ * Google signin button.
*/
window["gapiSigninButton"] = () => {
gapi.signin2.render('google-signin', {
@@ -65,8 +65,10 @@ window["gapiSigninButton"] = () => {
};
+/**
+ * Removes session storage items.
+ */
export function removeUserInfo() {
- // Remove session storage items
localStorage.removeItem("googleToken");
localStorage.removeItem("googleTokenExpiration");
localStorage.removeItem("googleName");