Commit graph

15 commits

Author SHA1 Message Date
kangax
35ad4bf6e3 Preparing fabric to run on node.js 2011-08-05 19:00:26 -04:00
kangax
628efcdc70 fabric.Element is renamed to fabric.Canvas, which makes more sense. fabric.Element is kept for compatibility reasons (but is deprecated). Bump version to 0.3. 2011-06-28 19:14:40 -04:00
kangax
e7aafae9e7 Add support for "opacity" attribute. 2011-06-14 17:28:54 -04:00
kangax
80148361f3 Add support for parsing <image> SVG elements and creating fabric.Image instances out of them. Backwards-compatibility note: fabric.parseElements changed signature from (elements, options) to (elements, callback, options) and is now an "asynchronous" method -- doesn't return a value, but instead passes it to a callback function (second argument). 2011-01-07 19:53:19 -05:00
kangax
f497327131 Fabric now runs fully under ES5 strict mode (except certain 3rd party dependencies, like cufon.js and json2.js). 2010-10-21 22:54:00 -04:00
kangax
639aa12e2a Another chunk of documentation (which is a bitch, by the way). 2010-10-14 22:16:24 -04:00
kangax
415205d3f2 Document bunch of API (still incomplete, but getting there). 2010-10-14 17:42:39 -04:00
kangax
e70830f7d6 Introduce fabric.log and fabric.warn methods, as simple wrappers around console.log and console.warn (instead of declaring those methods right on console). This makes it easier to mock them when testing, and is generally safer due to less tinkering with host objects. 2010-10-11 14:45:06 -04:00
kangax
ef73b46f7c Fix simple shapes (triangle, circle, etc.) being drawn with corners while in selection. Minor perf. improvements. 2010-08-02 14:13:07 -04:00
kangax
37abb1b8d8 Load demo images locally (to prevent SOP errors when serializing an image). 2010-08-02 11:00:38 -04:00
kangax
7e7a7ff719 Math.floor --> ~~ for slight perf. increase (only do this for positive numbers). 2010-07-31 14:06:10 -04:00
kangax
536d532d41 Various compatibility fixes. Add fabric.util.falseFunction. 2010-07-27 17:58:23 -04:00
kangax
0583d7718d Some more aliasing. Build + minify. 2010-07-26 19:24:16 -04:00
kangax
9f77d3a0a5 Add google closure compiler and explain how to minify fabric.js with it. Fix few omissions in jsdoc comments. 2010-07-26 00:48:26 -04:00
Juriy Zaytsev
2340a98526 Rename canvas_*.class.js files to just *.class.js 2010-07-09 21:50:13 -04:00
Renamed from src/canvas_image.class.js (Browse further)