Skip to content
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

GH-2033 Update GBE account state in response to checkout-web events #555

Merged
merged 16 commits into from Jun 15, 2020
Merged
Changes from 1 commit
Commits
File filter
Filter file types
Jump to
Jump to file
Failed to load files.

Always

Just for now

Remove debug statement

  • Loading branch information
wlycdgr committed May 18, 2020
commit 4ffce227dc33dd9f34ce90bd4200f99f4970f884
@@ -322,12 +322,8 @@ function handleAccountPages(name, callback) {
* @memberOf Background
*
* @param {string} name message name
* @param {string} tab_url tab url
*/
function handleCheckoutPages(name, callback) {
console.error('checkoutPage event:');
console.error(name);

function handleCheckoutPages(name) {
switch (name) {
case 'checkoutPage.buyInsights':
case 'checkoutPage.buyPlus':
ProTip! Use n and p to navigate between commits in a pull request.