Skip to content

Conversation

@brianchung808
Copy link
Contributor

I removed the callback from getHtml() to clean up the readability of the convert func. I moved the code from the callback out into prepareHtml(). It's just my preference to keep things looking as synchronous as possible since when I first looked at the code I thought getHtml was happening async.

travs pushed a commit that referenced this pull request Feb 11, 2015
Remove callback to make convert() cleaner
@travs travs merged commit 9212cd6 into travs:master Feb 11, 2015
@brianchung808 brianchung808 deleted the remove-callback branch February 11, 2015 20:55
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