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
Eliminate the use of Object.values() #12686
Conversation
/to @cramforce This is necessary to unblock #12679 |
@@ -479,8 +479,12 @@ describe('Google A4A utils', () => { | |||
}); | |||
const ampAdElem = env.win.document.createElement('amp-ad'); | |||
prevContainer.appendChild(ampAdElem); | |||
const ValidAdContainerTypeValues = | |||
Object.keys(ValidAdContainerTypes).map(function(key) { |
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.
camelCase
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.
nvm, guess it was already PascalCase prior to changes
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.
Yeah, didn't want to edit the rest of the file for this fix.
Fixes the error seen in the Travis jobs from #12679
See https://travis-ci.org/ampproject/amphtml/jobs/325672590#L730