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

misc(gather): update comment re: ClientRect copying #7785

Merged
merged 1 commit into from
Mar 28, 2019
Merged

Conversation

paulirish
Copy link
Member

the comment is out of date.

getBoundingClientRect used to return a ClientRect which stringified to {}
but as of july 2017, it returns a DOMRect, which stringifies fine.

Still, we dont want all the props, so we'll keep the basic functionality here.

this change is so minor. sorry for the noise.
credit to @brendankenny who brought this up

Copy link
Collaborator

@patrickhulce patrickhulce left a comment

Choose a reason for hiding this comment

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

Oh cool!

@brendankenny
Copy link
Member

credit to @brendankenny who brought this up

actually credit to @thebengeu who found the JSONify comment and noticed it didn't actually act like that (anymore): googleads/publisher-ads-lighthouse-plugin#14 (comment) :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants