Skip to content

Remove unnecessary region tags. #617

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 25, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions appengine/standard/firebase/firetactoe/static/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ function initGame(gameKey, me, token, channelId, initialMessage) {
return state.userX === state.me ? 'X' : 'O';
}

// [START move_in_square]
/**
* Send the user's latest move back to the server
*/
Expand All @@ -93,7 +92,6 @@ function initGame(gameKey, me, token, channelId, initialMessage) {
$.post('/move', {i: id});
}
}
// [END move_in_square]

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

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

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

/**
* This function opens a communication channel with the server
Expand Down