projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cda3bc7
)
XObject.js
author
Alan Knowles
<alan@akkbhome.com>
Tue, 18 May 2010 15:43:57 +0000
(23:43 +0800)
committer
Alan Knowles
<alan@akkbhome.com>
Tue, 18 May 2010 15:43:57 +0000
(23:43 +0800)
XObject.js
patch
|
blob
|
history
diff --git
a/XObject.js
b/XObject.js
index
7fecee4
..
fd3b566
100644
(file)
--- a/
XObject.js
+++ b/
XObject.js
@@
-268,12
+268,21
@@
XObject.prototype = {
if (item.pack===false) { // no
+ items.forEach(function(i) {
+ item.addItem(i);
+ });
+
return;
}
if (typeof(item.pack) == 'function') {
// parent, child
item.pack.apply(item, [ this , item ]);
item.parent = this;
+
+
+ items.forEach(function(i) {
+ item.addItem(i);
+ });
return;
}
var args = [];