Skip to content

Conversation

@hdgarrood
Copy link
Collaborator

I've tested textAlign and setTextAlign on firefox 33.

@hdgarrood
Copy link
Collaborator Author

oops, I'll fix those conflicts, one sec.

@garyb
Copy link
Member

garyb commented Dec 3, 2014

Looks like this one is unmergeable after applying the other two, could you update it please? Could do the export hiding at the same time too. :)

Copy link
Member

Choose a reason for hiding this comment

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

Since this is unsafe you could do it as a partial function with a pattern match anyway:

unsafeParseTextAlign "left" = AlignLeft
unsafeParseTextAlign "right" = AlignRight
...

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

oh yeah, of course, cheers :) Now I'm struggling to work out why I initially decided that I needed the ffi there...

@hdgarrood hdgarrood mentioned this pull request Dec 3, 2014
@hdgarrood
Copy link
Collaborator Author

Superseded by #12

@hdgarrood hdgarrood closed this Dec 3, 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