-
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
add logic to resize AST divs and iframes #3206
Conversation
src/secureCreatives.js
Outdated
|
||
function getAstElementId(adUnitCode) { | ||
let apn = window.apntag; | ||
let astTagIds = apn.requests && apn.requests.tags && Object.keys(apn.requests.tags); |
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.
let's see if there is a way to do this without accessing apn.request
object.
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.
I replaced the apntag.requests
reference with the new API function.
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.
we need to change the access to apntag.requests
* add logic to resize AST divs and iframes * fix import package * replace AST lookup with new API function
NOTE check with @mkendall07 first before merging.
Type of change
Description of change
This change adds/fixes some of the logic used in the
resizeRemoteCreative
function. The function will now: