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:
aa61554
)
XObject.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 26 Nov 2010 07:29:22 +0000
(15:29 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 26 Nov 2010 07:29:22 +0000
(15:29 +0800)
XObject.js
patch
|
blob
|
history
diff --git
a/XObject.js
b/XObject.js
index
4a198a3
..
673f8cf
100644
(file)
--- a/
XObject.js
+++ b/
XObject.js
@@
-80,6
+80,9
@@
function XObject (cfg) {
// print("GNAME:" +gname + " GTYPE:"+cfg.xtype.type);
}
+ // in the situation where we have been called and there is a base object
+ // defining the behavior..
+ // then we should copy the prototypes from the base object into this..
var base = gname ? imports.XObjectBase[gname][gname] : false;
if (base) {
// print("Overlaying XOBJBECT-BASE." + cfg.xtype);