kangax/fabric.js — Issue #83: fabric.Canvas#toJSON() problem with gradients
Author: Kienz
Created: 2011-11-22 12:38:45+00:00
State: open

If i save an object to the browser localStorage i got an problem with gradients.

```window.localStorage.setItem('canvas', JSON.stringify(canvas.toJSON(canvas)));```

The fill property was set to ```{}```. After i load the object to the canvas there are no gradients.
Any solution?

Thank you.