Commit graph

55 commits

Author SHA1 Message Date
kangax
e5fa742aff Alias some methods in fabric.Element for perf. reasons. Few improvements to demo. 2010-07-26 14:58:49 -04:00
kangax
8388559b42 Add alternative minified version of fabric (via google closure compiler) and corresponding gzipped versions (for comparison). Do not set angle of circles in benchmark. 2010-07-26 01:43:25 -04:00
kangax
34777a0fae Change benchmark to populate not only squares but circles and triangles as well (+ better opacity and positioning randomization). 2010-07-26 01:33:01 -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
fa757b1717 Whoops, fix switch fallthrough bug. 2010-07-24 01:10:47 -04:00
Juriy Zaytsev
8a69756297 Make it possible to add images on canvas in demo. 2010-07-24 01:09:05 -04:00
Juriy Zaytsev
5f04e2d495 Add fabric.Triangle class (untested for now). Start beefing up demo. 2010-07-24 01:03:28 -04:00
Juriy Zaytsev
1264f05aa4 Some more renaming. 2010-07-24 00:34:18 -04:00
Juriy Zaytsev
33ad430a62 Rename test files: canvas_* --> * 2010-07-24 00:15:13 -04:00
Juriy Zaytsev
34dbaef393 Add link to actual editor. 2010-07-24 00:09:44 -04:00
Juriy Zaytsev
f4eb1ad505 Add history section. 2010-07-23 23:59:14 -04:00
Juriy Zaytsev
a0221539e7 Make sure line color can be set via "fill" property. 2010-07-23 23:42:06 -04:00
Juriy Zaytsev
601a0b77a2 Add note about IE8 compatibility. Add license info to README. 2010-07-14 13:44:53 -04:00
Juriy Zaytsev
5d36a6393d Ensure test suite can be run on IE8 (currently there's ~30-40 failures). 2010-07-14 10:02:03 -04:00
Juriy Zaytsev
a84b7e7212 Update excanvas.js 2010-07-14 09:25:55 -04:00
Juriy Zaytsev
f4b8c6aa89 Change conditional comments so that excanvas.js is only downloaded in IE<9. 2010-07-14 09:25:23 -04:00
Juriy Zaytsev
eb5d5e93e5 Make description more descriptive. Add IE9pre3 to the list of supported browsers. 2010-07-13 17:53:55 -04:00
Juriy Zaytsev
7e06c09369 Update distribution and minified distribution files. 2010-07-13 16:19:08 -04:00
Juriy Zaytsev
492eda82a6 Fix loading order of objects in loadFromDatalessJSON. Fix few unit tests. 2010-07-13 16:17:33 -04:00
Juriy Zaytsev
2340a98526 Rename canvas_*.class.js files to just *.class.js 2010-07-09 21:50:13 -04:00
Juriy Zaytsev
41917f57b4 Slight tweak to description 2010-07-09 21:26:55 -04:00
Juriy Zaytsev
2004756f65 Add copyright comment. Update minified version. 2010-07-09 21:25:28 -04:00
Juriy Zaytsev
2e72a4d8c5 Rename Canvas.* to fabric.* (lowercased name makes more sense since Canvas is not a constructor). 2010-07-09 19:43:50 -04:00
Juriy Zaytsev
4b5ac284e8 Fix remaining failing tests. 2010-07-09 18:58:33 -04:00
Juriy Zaytsev
f96efe8e3d Replace APE animation with Canvas.base.animate in Canvas.Element::fxStraighten. 2010-07-09 14:26:49 -04:00
Juriy Zaytsev
90d8545644 Add Canvas.base.animate (still needs tests!). 2010-07-09 14:22:35 -04:00
Juriy Zaytsev
48989ca347 Specify that license is MIT. 2010-07-09 11:21:03 -04:00
Juriy Zaytsev
7242ea93de Change Prototype unit testing framework to QUnit; change all tests accordingly. 2010-07-09 10:21:40 -04:00
Juriy Zaytsev
61a01f2428 Add 2 more goals — "no browser sniffing" and "encapsulated under one object". 2010-06-26 23:00:56 -04:00
Juriy Zaytsev
be20251d85 Remove few more prototype-isms, start transitioning to QUnit (it's not ideal, but should do for now). 2010-06-26 22:57:02 -04:00
Juriy Zaytsev
8ee515e647 Add Canvas.base.request and finally make demo page work. Remove remnants of Prototype.js from fabric.js. 2010-06-24 03:37:02 -04:00
Juriy Zaytsev
9e1bf5b322 Replace Event.stopObserving with Canvas.base.removeEventListener. 2010-06-24 02:16:52 -04:00
Juriy Zaytsev
61fbfae2d8 Start experimenting with scout.js (on-demand code fetching based on feature test). Remove some redundant code from Canvas.Element. Add demo folder to /test. 2010-06-17 13:15:51 -04:00
Juriy Zaytsev
8df91fdfac Add instruction on how to minify to README. 2010-06-17 10:03:37 -04:00
Juriy Zaytsev
05a6aa4d42 Prototype.js and APE.js are no longer dependencies (shrinking overall size of fabric.js by ~150KB). Add json2.js and a simple base library (still needs tests). 2010-06-17 10:00:47 -04:00
Juriy Zaytsev
f8806b649e Start changing the way unit tests are run. 2010-06-16 15:19:11 -04:00
Juriy Zaytsev
5146c5a508 Add object model hierarchy to readme. 2010-06-11 19:51:28 -04:00
Juriy Zaytsev
fa4224649c Building dist file is now done via sprockets. 2010-06-11 19:37:06 -04:00
Juriy Zaytsev
fcb2877557 Replace $w with split(' ') (to remove dependency on global, non-descriptive variable and Prototype in general). Add few missing console.warn statements when double initialization is attempted. 2010-06-11 10:29:12 -04:00
Juriy Zaytsev
e1d036de71 Remove _unittest.js and some of the unnecessary modules from test loader. 2010-06-11 10:12:19 -04:00
Juriy Zaytsev
728b68a66c Import fabric.js unit tests from printio 2010-06-11 10:07:08 -04:00
Juriy Zaytsev
6fff87995d List supported browsers in README. 2010-06-11 09:18:09 -04:00
Maxim Chernyak aka hakunin
bbc63a5b4e Tweak credits. 2010-06-10 23:05:31 -07:00
Juriy Zaytsev
1e55fbda9b FabricJS -> Fabric.js 2010-06-11 01:58:52 -04:00
Juriy Zaytsev
b8cd3a4b94 Add a short overview, example, and credits to README. 2010-06-11 01:50:44 -04:00
Juriy Zaytsev
a36a5b2915 Add build files, both — just concatened and minified with YUIC 2010-06-11 01:32:18 -04:00
Juriy Zaytsev
0394fb94ad Small tweaks: normalize whitespace and brackets, make initialization of "classes" consistent. 2010-06-10 13:57:59 -04:00
Juriy Zaytsev
ca0df1bd15 "Collapse" few var statements. 2010-06-10 11:49:13 -04:00
Juriy Zaytsev
36416e65a3 Split 2D.js into canvas_point.class.js and canvas_intersection.class.js 2010-06-10 11:37:51 -04:00
Juriy Zaytsev
ea4e1e3a9c Add W3C SVG 1.2 Tiny test suite 2010-06-10 11:14:53 -04:00