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:
f9ca72a
)
XObject.js
author
Alan Knowles
<alan@roojs.com>
Wed, 9 May 2012 13:28:30 +0000
(21:28 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 9 May 2012 13:28:30 +0000
(21:28 +0800)
XObject.js
patch
|
blob
|
history
diff --git
a/XObject.js
b/XObject.js
index
0dfbaac
..
50f1bbd
100644
(file)
--- a/
XObject.js
+++ b/
XObject.js
@@
-257,9
+257,9
@@
XObject.prototype = {
XObject.log("add children to " + type);
var _this=this;
- this.items.forEach(function(i,n) {
- _this.addItem(
i,n
);
- }
)
+ for (var i = 0; i < this.items.length;i++) {
+ _this.addItem(
this.items[i],i
);
+ }
for (var i in this.listeners) {