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

Remove slugToSiteName helper #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jjpaulino
Copy link
Member

@jjpaulino jjpaulino commented Oct 9, 2018

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.

@coveralls
Copy link

coveralls commented Oct 9, 2018

Coverage Status

Coverage increased (+0.2%) to 99.796% when pulling 28b4c30 on jjpaulino:remove-helper into b1aa90d on clay:master.

@jjpaulino jjpaulino force-pushed the remove-helper branch 7 times, most recently from 8e178cc to 475ffdb Compare November 6, 2018 20:23
// add the current component before any ads
newContent.push(component);
if (componentType === afterComponent) {
if (componentType === afterCmp) {
/* istanbul ignore else */
Copy link
Member Author

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 */
Copy link
Member Author

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 */
Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@nelsonpecora nelsonpecora left a 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

@TTaitFoster TTaitFoster added the bug label Apr 4, 2019
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.

7 participants