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

Audience Network (legacy): backport native non-IAB size fix #2558

Merged

Conversation

lovell
Copy link
Contributor

@lovell lovell commented May 17, 2018

Type of change

  • Bugfix
  • Feature
  • New bidder adapter
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Does this change affect user-facing APIs or examples documented on http://prebid.org?
  • Other

Description of change

Hello, this PR is to backport bug fixes #2203 and #2417 to the "legacy" 0.x release branch.

This work was commissioned and paid for by Facebook.

@lovell
Copy link
Contributor Author

lovell commented May 17, 2018

The unit tests intermittently fail for an unrelated adapter, which probably relates to #1639

HeadlessChrome 66.0.3359 (Linux 0.0.0) Trion adapter tests "before each" hook FAILED

@snapwich snapwich assigned snapwich and ndhimehta and unassigned snapwich May 21, 2018
@ndhimehta ndhimehta assigned idettman and unassigned ndhimehta May 21, 2018
Copy link
Member

@mkendall07 mkendall07 left a comment

Choose a reason for hiding this comment

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

needs an update to includes.

@@ -49,13 +51,37 @@ const expandSize = size => size.split('x').map(Number);
*/
const isValidSize = size => ['300x250', '320x50'].includes(size);
Copy link
Member

Choose a reason for hiding this comment

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

this isn't a safe use of includes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, good spot, updated.

@mkendall07
Copy link
Member

@lovell ^^ fyi

@lovell lovell force-pushed the audience-network-legacy-native-backport branch from 7a27ffd to 76b8d4f Compare May 25, 2018 10:52
Copy link
Contributor

@idettman idettman left a comment

Choose a reason for hiding this comment

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

Latest commit resolves includes issue, LGTM

@mkendall07 mkendall07 merged commit a6528ee into prebid:legacy May 30, 2018
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.

5 participants