-
Notifications
You must be signed in to change notification settings - Fork 8
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
Remove slugToSiteName helper #55
base: master
Are you sure you want to change the base?
Conversation
8e178cc
to
475ffdb
Compare
475ffdb
to
28b4c30
Compare
// add the current component before any ads | ||
newContent.push(component); | ||
if (componentType === afterComponent) { | ||
if (componentType === afterCmp) { | ||
/* istanbul ignore else */ |
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.
if (articleData.inSplashMobileAd) { | ||
newContent.push(articleData.inSplashMobileAd); | ||
} | ||
/* istanbul ignore else */ |
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.
if (articleData.inSplashTabletAd) { | ||
newContent.push(articleData.inSplashTabletAd); | ||
} | ||
/* istanbul ignore else */ |
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.
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.
note that this will require a major version bump, since it's a breaking change for clay/handlebars' API
This helper was causing a frontend bug in articles because the sites were outdated and, since it is pretty much
sites
specific, we decided to move it from here to here.