Skip to content
This repository was archived by the owner on Dec 4, 2018. It is now read-only.

Conversation

@mrcthms
Copy link
Contributor

@mrcthms mrcthms commented Feb 29, 2016

Currently it compiles to <a classname="for-screen-reader"> so it breaks visibility.

@callumacrae
Copy link
Contributor

I thought this was a thing! Not sure where I got it from (I wrote this code before React).

You can't use class as a property, because it is a reserved keyword. Wrap it in quotes or this will break everything :)

@mrcthms
Copy link
Contributor Author

mrcthms commented Mar 1, 2016

@callumacrae Can we get a patch release for this when it merges?

@callumacrae
Copy link
Contributor

eslint didn't like that 😦

Babel might be handling the property. I don't know if the second commit is actually required. I was under the impression it was, but if we have a linting rule for it…

@mrcthms mrcthms force-pushed the bugfix/fix-skip-preview-link branch from a812bf4 to 8aa4747 Compare March 14, 2016 13:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants