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:
93f0e9f
)
XObject.js
author
Alan Knowles
<alan@akkbhome.com>
Tue, 18 May 2010 15:30:41 +0000
(23:30 +0800)
committer
Alan Knowles
<alan@akkbhome.com>
Tue, 18 May 2010 15:30:41 +0000
(23:30 +0800)
XObject.js
patch
|
blob
|
history
diff --git
a/XObject.js
b/XObject.js
index
88edd83
..
598c2a4
100644
(file)
--- a/
XObject.js
+++ b/
XObject.js
@@
-203,10
+203,14
@@
XObject.prototype = {
//}
if (this.items) {
-
+ var items = [];
+ this.items.forEach(function(i) {
+ items.push(i);
+ });
+ this.items = [];
var _this=this;
-
this.
items.forEach(function(i) {
+ items.forEach(function(i) {
_this.addItem(i);
});
}