From df1e7783b36d7f63f3a166771c9e27fb988244bd Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 26 Nov 2010 15:36:44 +0800 Subject: [PATCH] XObject.js --- XObject.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XObject.js b/XObject.js index bddf3e8c8..856aa165f 100644 --- a/XObject.js +++ b/XObject.js @@ -129,7 +129,7 @@ function XObject (cfg) { // create XObject for all the children. items.forEach(function(i,n) { - var item = (i.constructor == XObject) ? o : new XObject(i); + var item = (i.constructor == XObject) ? i : new XObject(i); item.parent = _this; _this.items.push(item); //_this.addItem(i); -- 2.39.2