Skip to content

Update thank you image with high five - #809

Merged
joshsmith merged 1 commit into
developfrom
update-thank-you-image
Nov 30, 2016
Merged

Update thank you image with high five#809
joshsmith merged 1 commit into
developfrom
update-thank-you-image

Conversation

@joshsmith

Copy link
Copy Markdown
Contributor

What's in this PR?

Updates the thank you page to use a high five instead of the fireworks.

This could probably be simplified some. Would love feedback on how to simplify further.

@joshsmith joshsmith added this to the Improve Donations milestone Nov 30, 2016

@begedin begedin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this looks good to merge, but there's the one comment that you might wanna give a try. I think it would work, but I'm not sure.


let resetTimer = run.later((function() {
set(that, 'reset', false);
}), 1);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could probably use an arrow function instead of storing context into that. That should preserve the this from within the arrow function.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, I believe run.later can receive the context as an argument to, so that might be an option.

@joshsmith
joshsmith force-pushed the update-thank-you-image branch from 6fbdeab to e9ce7f9 Compare November 30, 2016 17:38
@joshsmith
joshsmith merged commit b26a779 into develop Nov 30, 2016
@joshsmith
joshsmith deleted the update-thank-you-image branch November 30, 2016 17:44
WenInCode pushed a commit that referenced this pull request Jan 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants