Skip to content
This repository has been archived by the owner on Nov 1, 2021. It is now read-only.

Rename Dom.Image to Dom.ImageData, add implementation for Dom.Image #169

Closed
wants to merge 1 commit into from

Conversation

TomiS
Copy link

@TomiS TomiS commented Feb 13, 2020

Solves issue: #168

There is a backwards compatibility break in naming of the files.

Copy link
Member

@glennsl glennsl left a comment

Choose a reason for hiding this comment

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

Thanks for this. Image should definitely be renamed to ImageData. I also think it should be moved to Webapi.Canvas. But (the actual) Image already exists as HtmlImageElement. Perhaps it would be a good idea to have an Image module that proxies just the make function though, and otherwise points to HtmlImageElement for the rest of the API. But there's no need to reimplement it at least.

@TomiS
Copy link
Author

TomiS commented Feb 17, 2020

Oh, I didn't realize there is a HTMLImageElement already. I guess proxy module would be a good idea. And I agree ImageData should probably be with canvas stuff. I'll see if I could fix the PR soon.

@TomiS
Copy link
Author

TomiS commented Apr 14, 2020

Will create a new PR from another branch.

@TomiS TomiS closed this Apr 14, 2020
@TomiS TomiS mentioned this pull request Apr 14, 2020
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.

2 participants