Skip to content

Commit 6de5e9a

Browse files
melaniedejongchenyumic
authored andcommitted
Edit region tags in script.js (GoogleCloudPlatform#1619)
Edited region tags for use in documentation
1 parent 41a573e commit 6de5e9a

File tree

1 file changed

+2
-6
lines changed
  • appengine/standard_python37/building-an-app/building-an-app-3/static

1 file changed

+2
-6
lines changed

appengine/standard_python37/building-an-app/building-an-app-3/static/script.js

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,12 @@
1515

1616
'use strict';
1717

18-
// [START gae_python37_auth_sign_out]
18+
// [START gae_python37_auth_javascript]
1919
window.addEventListener('load', function () {
2020
document.getElementById('sign-out').onclick = function () {
2121
firebase.auth().signOut();
2222
};
23-
// [END gae_python37_auth_sign_out]
2423

25-
// [START gae_python37_auth_UIconfig_variable]
2624
// FirebaseUI config.
2725
var uiConfig = {
2826
signInSuccessUrl: '/',
@@ -40,9 +38,7 @@ window.addEventListener('load', function () {
4038
// Terms of service url.
4139
tosUrl: '<your-tos-url>'
4240
};
43-
// [END gae_python37_auth_UIconfig_variable]
4441

45-
// [START gae_python37_auth_request]
4642
firebase.auth().onAuthStateChanged(function (user) {
4743
if (user) {
4844
// User is signed in, so display the "sign out" button and login info.
@@ -73,5 +69,5 @@ window.addEventListener('load', function () {
7369
console.log(error);
7470
alert('Unable to log in: ' + error)
7571
});
76-
// [END gae_python37_auth_request]
7772
});
73+
// [END gae_python37_auth_javascript]

0 commit comments

Comments
 (0)