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

Kumma Adapter: size parameter is not mandatory anymore #1866

Merged
merged 2 commits into from
Nov 27, 2017
Merged

Kumma Adapter: size parameter is not mandatory anymore #1866

merged 2 commits into from
Nov 27, 2017

Conversation

yehonatanshac
Copy link
Contributor

Type of change

  • [ X] Feature

Description of change

Size parameter is not mandatory anymore for Kumma adapter

  • contact email of the adapter’s maintainer
    [email protected]
  • official adapter submission

@@ -76,7 +76,7 @@ function impression(slot) {
};
}
function banner(slot) {
const size = slot.params.size.toUpperCase().split('X');
const size = parseSizesInput(slot.sizes)[0].split('x') || slot.params.size.toUpperCase().split('X');
Copy link
Member

Choose a reason for hiding this comment

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

this would never be falesy so the 2nd value would never evaluate.

If that's ok then drop it. otherwise you should handle the other cases properly.

@mkendall07 mkendall07 self-assigned this Nov 22, 2017
@yehonatanshac
Copy link
Contributor Author

Now the size parameter was completely removed

@jaiminpanchal27 jaiminpanchal27 self-requested a review November 27, 2017 17:01
@jaiminpanchal27 jaiminpanchal27 merged commit 2fce2dc into prebid:master Nov 27, 2017
dluxemburg pushed a commit to Genius/Prebid.js that referenced this pull request Jul 17, 2018
* size parameter is not mandatory anymore

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

Successfully merging this pull request may close these issues.

3 participants