From 40e41109655b3365b6f206078193ae5a243879a6 Mon Sep 17 00:00:00 2001 From: Marco Cedaro Date: Wed, 5 Nov 2014 22:26:28 +0000 Subject: [PATCH] Fix for script typos (a var and a comma missing) --- authorization_code/public/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/authorization_code/public/index.html b/authorization_code/public/index.html index 7b65c5a..26e6b63 100644 --- a/authorization_code/public/index.html +++ b/authorization_code/public/index.html @@ -82,13 +82,13 @@ userProfileTemplate = Handlebars.compile(userProfileSource), userProfilePlaceholder = document.getElementById('user-profile'); - oauthSource = document.getElementById('oauth-template').innerHTML, + var oauthSource = document.getElementById('oauth-template').innerHTML, oauthTemplate = Handlebars.compile(oauthSource), oauthPlaceholder = document.getElementById('oauth'); var params = getHashParams(); - var access_token = params.access_token + var access_token = params.access_token, refresh_token = params.refresh_token, error = params.error;