Skip to content

Conversation

tofumatt
Copy link
Contributor

className="Addon-theme-header"
id="Addon-theme-header"
data-browsertheme={getBrowserThemeData()}
ref={(el) => { this.wrapper = el; }}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This was unused and caused a non-100% coverage error so I deleted it. I know it's unrelated but figured it was worth it.

Copy link
Contributor

@kumar303 kumar303 left a comment

Choose a reason for hiding this comment

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

r+wc

export const ADDON_TYPE_LANG = 'language';
export const ADDON_TYPE_OPENSEARCH = 'search';
export const ADDON_TYPE_THEME = 'persona';
export const ADDON_TYPE_CLASSIC_THEME = 'theme';
Copy link
Contributor

Choose a reason for hiding this comment

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

can we just call this ADDON_TYPE_COMPLETE_THEME?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, no problem.

export const ADDON_TYPE_THEME = 'persona';
export const ADDON_TYPE_CLASSIC_THEME = 'theme';
export const validAddonTypes = [
ADDON_TYPE_CLASSIC_THEME, // Remove once we don't support complete themes.
Copy link
Contributor

Choose a reason for hiding this comment

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

One day we might start grepping TODO so it would probably make sense to add that to the comment so we don't forget

@tofumatt tofumatt force-pushed the rating-manager-login-error branch from 117047e to af319f1 Compare June 28, 2017 18:06
@tofumatt tofumatt force-pushed the rating-manager-login-error branch from af319f1 to 7a41631 Compare June 28, 2017 18:07
@tofumatt tofumatt merged commit c95f655 into master Jun 28, 2017
@tofumatt tofumatt deleted the rating-manager-login-error branch June 28, 2017 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Complete themes cause an error because they are unsupported
2 participants