Skip to content
Browse files

Merge pull request #144 from sunrei/master

Fixed bug with `loadFromDatalessJSON` not loading text objects when those objects have no "path" property.
  • Loading branch information...
2 parents 8411165 + f780bab commit c551e1bcbeaadb4528f7f5acdf1659874c125577 @kangax committed
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/canvas.serialization.js
View
1 src/canvas.serialization.js
@@ -66,7 +66,6 @@ fabric.util.object.extend(fabric.StaticCanvas.prototype, {
if (typeof path !== 'string') {
switch (obj.type) {
case 'image':
- case 'text':
fabric[fabric.util.string.capitalize(obj.type)].fromObject(obj, function (o) {
onObjectLoaded(o, index);
});

0 comments on commit c551e1b

Please sign in to comment.
Something went wrong with that request. Please try again.