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

fixes failed styleguide generation when section modifier has no markup #343

Merged
merged 1 commit into from
Dec 10, 2014

Conversation

aslansky
Copy link

If a section had modifiers without markup like:

// The standard call to action button
//
// :hover             - Subtle hover highlight.
// :active            - Active state of the button
// .disabled          - Dims the button to indicate it cannot be used.
// [disabled]         - Dims the button to indicate it cannot be used.
// .icon-only         - Hides text of button
//
// Styleguide 2.0

The styleguide generation failed with:
TypeError: Cannot call method 'indexOf' of null

hannu added a commit that referenced this pull request Dec 10, 2014
fixes failed styleguide generation when section modifier has no markup
@hannu hannu merged commit 0c5317b into SC5:master Dec 10, 2014
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.

2 participants