I'm currently working on business card designing platform using fabrics.js
.
I'm trying to implement auto-save feature which protects users from losing work by saving and restoring the designing data in browser cache.
So I used loadFromJSON()
of Fabrics.js
Canvas object to restore the designing data.
But I'm getting following error when I try to restore shape
item from the JSON.
Uncaught TypeError: Cannot read property 'async' of undefined
Following is the my fiddle to test this. I have embedded raw JSON in the javascript.
https://jsfiddle.net/asgriksen/mhf2kqzo/14/
Thanks.