-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
implements the todo comment in the code #4821
Conversation
adUnit.sizes was still being referenced here in two places despite being deprecated. This simply deletes the references.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Sorry, I found two unit test cases failing after approving this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, thanks for this PR.
I believe there a two unit test cases which are failing in pbjs_api_spec.js
in line: 1516 and line:1604 because we are still trying to assert against adUnit.sizes which you just removed in this PR.
Can you get rid of the assertions in those two line and then run the command, gulp test
to validate all unit test cases are passing?
I found several other assertions to delete as well based on adUnits[0].sizes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making the change! LGTM.
This reverts commit 469ec57.
adUnit.sizes was still being referenced here in two places despite being deprecated. This simply deletes the references.
Type of change-
[ ] Bugfix
Description of change
Removal of an object that is no longer needed
Other information
http://prebid.org/blog/pbjs-3