From 7888d1d10707e4ad12a69694c0a53f65ef1412c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Wed, 3 Feb 2016 09:46:40 +0100 Subject: [PATCH] JSON: Prevent `name: undefined` exports. --- src/item/Item.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/item/Item.js b/src/item/Item.js index 88bdbead..6cc7f247 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -45,6 +45,7 @@ var Item = Base.extend(Emitter, /** @lends Item# */{ }, _class: 'Item', + _name: null, // All items apply their matrix by default. // Exceptions are Raster, SymbolItem, Clip and Shape. _applyMatrix: true,