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

Initial smatr-ads-net #27382

Merged
merged 4 commits into from Mar 26, 2020
Merged

Initial smatr-ads-net #27382

merged 4 commits into from Mar 26, 2020

Conversation

approslab
Copy link
Contributor

No description provided.

@nainar
Copy link
Contributor

nainar commented Mar 25, 2020

I am not the correct reviewer for Ads related code. @powerivq is more appropriate. Unassigning myself.

@nainar nainar removed their request for review March 25, 2020 16:05
@powerivq powerivq requested a review from nainar March 25, 2020 19:49
@powerivq
Copy link
Contributor

@nainar adding you back since ads do not own the extensions/ folder, and we need your owner approval to create a new extension.

@kristoferbaxter
Copy link
Contributor

@powerivq Can you also review? Your approval can be used as the signal for @nainar.

@powerivq
Copy link
Contributor

@kristoferbaxter Yeah, I am.

let src;
return (
!useRemoteHtml &&
!!(src = element.getAttribute('src')) &&
Copy link
Contributor

Choose a reason for hiding this comment

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

Is = intended?

Copy link
Contributor Author

@approslab approslab Mar 25, 2020

Choose a reason for hiding this comment

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

@powerivq I don 't quite understand

Copy link
Contributor

Choose a reason for hiding this comment

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

Can this assignment be moved to below (line 32)? The logic here is a bit difficult to understand.

let src = element.getAttribute('src');
return (
    !useRemoteHtml &&
    !!src &&
    ....

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good idea

Copy link
Contributor

@nainar nainar left a comment

Choose a reason for hiding this comment

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

rubber stamp LGTM

@kristoferbaxter
Copy link
Contributor

@powerivq powerivq merged commit 72e2b39 into ampproject:master Mar 26, 2020
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.

None yet

6 participants