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

Recommendation: style_ becomes styleRaw_ and style_ mimics Elm #29

Closed
3noch opened this issue Aug 5, 2016 · 1 comment
Closed

Recommendation: style_ becomes styleRaw_ and style_ mimics Elm #29

3noch opened this issue Aug 5, 2016 · 1 comment

Comments

@3noch
Copy link
Contributor

3noch commented Aug 5, 2016

Elm's style function takes a list of tuples (key, value). This is convenient when writing styles yourself. Of course, I can see wanting raw style strings as well so might as well have a styleRaw_ variant. We may prefer to take Map (CI Text) Text instead to prevent the same style being set twice.

@dmjio
Copy link
Owner

dmjio commented Aug 6, 2016

done in e28f89e

@dmjio dmjio closed this as completed Aug 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants