projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60256e8
)
XObject.js
author
Alan Knowles
<alan@wideboy.(none)>
Thu, 15 Apr 2010 13:51:31 +0000
(21:51 +0800)
committer
Alan Knowles
<alan@wideboy.(none)>
Thu, 15 Apr 2010 13:51:31 +0000
(21:51 +0800)
XObject.js
patch
|
blob
|
history
diff --git
a/XObject.js
b/XObject.js
index
7cc877f
..
27b2ecc
100644
(file)
--- a/
XObject.js
+++ b/
XObject.js
@@
-149,7
+149,7
@@
XObject.prototype = {
addItem : function(o) {
- var item = (o.constructor == XObject) ? o :
x
new XObject(o);
+ var item = (o.constructor == XObject) ? o : new XObject(o);
item.parent = this;
this.items.push(item);