First implementation of brushes
Add circle brush
Avoid expensive regex when modifying data url string
Discard active group when clearing canvas
Prevent event.js from erroring out in Node
Merge master
Refactor brushes
Change pattern brush to work with fabric.Pattern
Merge master
Add shadow support to brushes
[BACK_INCOMPAT] Implement fabric.Gradient#toSVG() and radialGradient

- Implement radial gradient and expand linear gradient (stop-opacity should now take into account)
- Gradients should now be included in the SVG output for the following fabric objects: circle, ellipse, line, path, polygon, polyline, rect and triangle (text is not yet implemented)
- Gradients (linear / radial) can be applied to stroke or fill property => change setGradientFill(options) to setGradient(type, options)
- Change toObject() that linear and radial gradients can be serialized
- Expand fabric.Color by 16 basic colors fabric.Color.colorNameMap => gradients with e.g. stop-color="blue" and stop-opacity="0.5 can be converted to RGBA color
- RGBA colors in svg has no affect (convert to RGB color), only stop-opacity has affect to color opacity
- Attached some test svg files http://kienzle.geschaeft.s3.amazonaws.com/projects/fabricjs/gradients/gradients.rar
Update setGradient and addColorStop interface
- setGradient('fill', {x1: 50, y2: 10, colorStops: {'0.7', 'rgba(0,153,153,0.5)'}});
- addColorStop({'0.4', 'blue'});
fix infinity check so that Closure Compiler does not choke on it
Merge pull request #465 from atis--/master

Prevent Closure Compiler dying on divide by zero
Merge pull request #467 from xxorax/master

Fix backgroundColor render on nodejs
Run jshint as part of `npm test`
Remove unused maxY variable
[BACK_INCOMPAT] Implement fabric.Gradient#toSVG() and radialGradient

- Implement radial gradient and expand linear gradient (stop-opacity should now take into account)
- Gradients should now be included in the SVG output for the following fabric objects: circle, ellipse, line, path, polygon, polyline, rect and triangle (text is not yet implemented)
- Gradients (linear / radial) can be applied to stroke or fill property => change setGradientFill(options) to setGradient(type, options)
- Change toObject() that linear and radial gradients can be serialized
- Expand fabric.Color by 16 basic colors fabric.Color.colorNameMap => gradients with e.g. stop-color="blue" and stop-opacity="0.5 can be converted to RGBA color
- RGBA colors in svg has no affect (convert to RGB color), only stop-opacity has affect to color opacity
- Attached some test svg files http://kienzle.geschaeft.s3.amazonaws.com/projects/fabricjs/gradients/gradients.rarUpdate setGradient and addColorStop interface

Update setGradient and addColorStop interface
- setGradient('fill', {x1: 50, y2: 10, colorStops: {'0.7', 'rgba(0,153,153,0.5)'}});
- addColorStop({'0.4', 'blue'});
Bugfix fabric.PathGroup if object is not visible

- if object is not visible and of type 'path-group' the object was still drawn
JSHint - remove extra comma at the end of the fabric.Color.colorNameMap object