fabric.js/test/unit
Kienz 8c74f2b335 [BACK_INCOMPAT] fabric.Text#textShadow has been removed - new fabric.Text.shadow property (type of fabric.Shadow)
[BACK_INCOMPAT] `fabric.BaseBrush`shadow properties are combined into one property => `fabric.BaseBrush.shadow`(shadowColor, shadowBlur, shadowOffsetX, shadowOffsetY no longer exist)
Removed fabric.Text.getText method => is generated with `fabric.util.createAccessors`
`fabric.Shadow` can now initialized with string or object (e.g. '10px 10px 5px rgb(0,0,255)', 'rgb(0,0,255) 10px 10px 5px', {color: 'gb(0,0,255)', offsetX: 10, offsetY: 10, blur: 5})
`fabric.Shadow.getShadow`to get css3 declaration of shadow (String)
`fabric.Object.set('shadow', value)`is now the same as `fabric.Shadow.setShadow(value)`
Add unit tests
2013-09-03 19:11:21 +02:00
..
canvas.js Fix fabric.Canvas subclassing; fabric.Canvas, fabric.StaticCanvas now created via createClass. 2013-08-28 15:17:25 +02:00
canvas_static.js [BACK_INCOMPAT] fabric.Text#textShadow has been removed - new fabric.Text.shadow property (type of fabric.Shadow) 2013-09-03 19:11:21 +02:00
circle.js [BACK_INCOMPAT] fabric.Text#textShadow has been removed - new fabric.Text.shadow property (type of fabric.Shadow) 2013-09-03 19:11:21 +02:00
color.js Fix typo, add hsl/hsla (with whitespaces) unit tests and move stuff outside of functions 2013-05-25 19:42:31 +02:00
ellipse.js Implement clipTo serialization, deserialization, and initialization. Closes #583. Closes #677. Closes #676 2013-06-02 23:04:54 +02:00
gradient.js Fix pattern toSVG 2013-07-22 22:00:03 +02:00
group.js Implement clipTo serialization, deserialization, and initialization. Closes #583. Closes #677. Closes #676 2013-06-02 23:04:54 +02:00
image.js Fix fabric.Image.setElement - now _element and _originalElement (until now _originalImage) are set. Closes #745 2013-08-09 14:18:27 +02:00
image_filters.js Add fabric.Image.filters.Mask unit test 2013-08-18 21:01:50 +02:00
line.js Implement clipTo serialization, deserialization, and initialization. Closes #583. Closes #677. Closes #676 2013-06-02 23:04:54 +02:00
object.js [BACK_INCOMPAT] fabric.Text#textShadow has been removed - new fabric.Text.shadow property (type of fabric.Shadow) 2013-09-03 19:11:21 +02:00
observable.js Add test for context in trigger 2013-09-03 11:53:10 +02:00
parser.js Fix nested matrix multiplication. Closes #705 2013-06-13 23:10:33 +02:00
path.js Fixed fabric.PathGroup.fromObject - use fabric.util.enlivenObjects to instatiate fabric.Path objects 2013-07-18 22:21:19 +02:00
path_group.js Fixed fabric.PathGroup.fromObject - use fabric.util.enlivenObjects to instatiate fabric.Path objects 2013-07-18 22:21:19 +02:00
pattern.js Fix pattern toSVG 2013-07-22 22:00:03 +02:00
polygon.js Fix polyline, polygon tests and JSHint warnings 2013-07-22 14:39:07 +02:00
polyline.js Fix polyline, polygon tests and JSHint warnings 2013-07-22 14:39:07 +02:00
rect.js Fix rect positioning when loading from JSON. Closes #522 2013-06-03 02:24:41 +02:00
shadow.js [BACK_INCOMPAT] fabric.Text#textShadow has been removed - new fabric.Text.shadow property (type of fabric.Shadow) 2013-09-03 19:11:21 +02:00
text.js [BACK_INCOMPAT] fabric.Text#textShadow has been removed - new fabric.Text.shadow property (type of fabric.Shadow) 2013-09-03 19:11:21 +02:00
util.js Fix function body matching regex. Add fabric.util.getFunctionBody 2013-06-01 18:08:36 +02:00