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

Improve sync/async API #17

Merged
merged 1 commit into from
Dec 2, 2013
Merged

Improve sync/async API #17

merged 1 commit into from
Dec 2, 2013

Conversation

neocotic
Copy link
Owner

@neocotic neocotic commented Dec 2, 2013

Removed unnecessary callbacks and simplified sync and async code (incl. new saveSync method).

This PR also fixes #16 by adding support for an optional mime option to the following methods to override the default image/png mime:

  • image
  • save (in browser)
  • saveSync (in browser)
  • toDataURL

@ghost ghost assigned neocotic Dec 2, 2013
neocotic added a commit that referenced this pull request Dec 2, 2013
@neocotic neocotic merged commit 889fb37 into wip-1.1.0 Dec 2, 2013
@neocotic neocotic deleted the real-async branch December 2, 2013 11:06
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.

None yet

1 participant