Commit graph

8 commits

Author SHA1 Message Date
kangax
b8ea6b7cec [BACK_INCOMPAT] Add support for static canvases — fabric.StaticCanvas. fabric.Canvas#loadImageFromURL -> fabric.util.loadImage. Add fabric.Canvas#centerObject. 2011-11-27 23:57:28 -05:00
kangax
ae9025ce5c Fix image filter initialization in node. 2011-10-29 14:36:09 -04:00
kangax
6415c573fe Intercept error in node requests to avoid process failing on connection refused or other errors. 2011-09-08 15:56:59 -04:00
kangax
3a7d2f0bc3 Make fabric.util.getScript work under Node.js, by using "request + eval" rather than "script element + load event". 2011-09-05 20:52:20 -04:00
kangax
6e9543cb69 Preparing fabric for publishing through npm. Make fabric.createCanvasForNode accept width/height rather than reference to node-canvas, to prevent user from having to instantiate node-canvas instance. Add fabric.Canvas.prototype.createPNGStream which is a simple proxy for node-canvas createPNGStream. 2011-08-16 15:57:07 -04:00
kangax
b53d794af6 [BACK_INCOMPAT] Custom fabric build is now created with node.js and is much more flexible. Sprockets is no longer required to build fabric. Parser and node are now optional modules, which means that parseSVGDocument is no longer included in default fabric build. 2011-08-14 17:35:36 -04:00
kangax
07d4f7de72 Fix dependency url of node-canvas. Add "times new roman" font. 2011-08-11 15:40:46 -04:00
kangax
4742fd12b0 Update README to mention support for node.js. Add fabric_node.js "module" (which augments some of the fabric methods to use node-specific implementation). 2011-08-11 15:20:06 -04:00