Skip to content

Enable support for canvas-prebuilt package#1754

Merged
domenic merged 6 commits intojsdom:masterfrom
asturur:master
Mar 12, 2017
Merged

Enable support for canvas-prebuilt package#1754
domenic merged 6 commits intojsdom:masterfrom
asturur:master

Conversation

@asturur
Copy link
Copy Markdown
Contributor

@asturur asturur commented Mar 4, 2017

canvas-prebuilt is a package from @chearon https://github.com/chearon/node-canvas-prebuilt, contributor of node-canvas.

Is easier to install for most of the situation and is same as canvas, but prebuilt.

Is a drop in replacement with a different name, i made this PR to enable the us of this package in jsdom.

@asturur
Copy link
Copy Markdown
Contributor Author

asturur commented Mar 5, 2017

@domenic any thought about this?

@asturur
Copy link
Copy Markdown
Contributor Author

asturur commented Mar 7, 2017

@tmpvar, @Sebmaster anyone?

@domenic
Copy link
Copy Markdown
Member

domenic commented Mar 7, 2017

Sorry, we're all busy and mostly work on jsdom on weekends. I wasn't able to do so last weekend.

@asturur
Copy link
Copy Markdown
Contributor Author

asturur commented Mar 7, 2017

no worries! I ll wait the weekend.

@domenic
Copy link
Copy Markdown
Member

domenic commented Mar 12, 2017

This is really great stuff! Thanks especially for adding a CI test configuration for it.

I was wondering if we should just always include canvas-prebuilt, but it looks like according to https://www.npmjs.com/package/canvas-prebuilt that would not be great for every platform, so the approach you went with here makes sense to me.

@domenic domenic merged commit 0454f04 into jsdom:master Mar 12, 2017
@asturur
Copy link
Copy Markdown
Contributor Author

asturur commented Mar 12, 2017

Super! this will ease also fabricjs installations.

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