Skip to content

Commit facfc99

Browse files
authored
Remove unnecessary region tags. (GoogleCloudPlatform#617)
1 parent 2b7c061 commit facfc99

File tree

1 file changed

+0
-6
lines changed
  • appengine/standard/firebase/firetactoe/static

1 file changed

+0
-6
lines changed

appengine/standard/firebase/firetactoe/static/main.js

-6
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ function initGame(gameKey, me, token, channelId, initialMessage) {
8383
return state.userX === state.me ? 'X' : 'O';
8484
}
8585

86-
// [START move_in_square]
8786
/**
8887
* Send the user's latest move back to the server
8988
*/
@@ -93,7 +92,6 @@ function initGame(gameKey, me, token, channelId, initialMessage) {
9392
$.post('/move', {i: id});
9493
}
9594
}
96-
// [END move_in_square]
9795

9896
/**
9997
* This method lets the server know that the user has opened the channel
@@ -111,7 +109,6 @@ function initGame(gameKey, me, token, channelId, initialMessage) {
111109
$.post('/delete');
112110
}
113111

114-
// [START remove_listener]
115112
/**
116113
* This method is called every time an event is fired from Firebase
117114
* it updates the entire game state and checks for a winner
@@ -127,9 +124,7 @@ function initGame(gameKey, me, token, channelId, initialMessage) {
127124
deleteChannel(); //delete the data we wrote
128125
}
129126
}
130-
// [END remove_listener]
131127

132-
// [START open_channel]
133128
/**
134129
* This function opens a realtime communication channel with Firebase
135130
* It logs in securely using the client token passed from the server
@@ -156,7 +151,6 @@ function initGame(gameKey, me, token, channelId, initialMessage) {
156151
onOpened();
157152
// let the server know that the channel is open
158153
}
159-
// [END open_channel]
160154

161155
/**
162156
* This function opens a communication channel with the server

0 commit comments

Comments
 (0)