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:
ebdd5dd
)
XObject.js
author
Alan Knowles
<alan@akbkhome.com>
Mon, 17 May 2010 03:18:10 +0000
(11:18 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 17 May 2010 03:18:10 +0000
(11:18 +0800)
XObject.js
patch
|
blob
|
history
diff --git
a/XObject.js
b/XObject.js
index
bf9e159
..
cd4c102
100644
(file)
--- a/
XObject.js
+++ b/
XObject.js
@@
-229,8
+229,8
@@
XObject.prototype = {
}
var item = (o.constructor == XObject) ? o : new XObject(o);
-
- item.init(
this
);
+ item.parent = this;
+ item.init();
//print("CTR:PROTO:" + ( item.id ? item.id : '??'));
// print("addItem - call init [" + item.pack.join(',') + ']');
if (!item.el) {
@@
-239,7
+239,7
@@
XObject.prototype = {
Seed.quit();
}
- item.parent = this;
+
this.items.push(item);
if (item.pack===false) { // no