projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e23e4ad
)
XObject.js
author
alan
<alan@alanfast.akbkhome.com>
Thu, 15 Apr 2010 11:12:29 +0000
(19:12 +0800)
committer
alan
<alan@alanfast.akbkhome.com>
Thu, 15 Apr 2010 11:12:29 +0000
(19:12 +0800)
XObject.js
patch
|
blob
|
history
diff --git
a/XObject.js
b/XObject.js
index
91cab6d
..
90d0b8f
100644
(file)
--- a/
XObject.js
+++ b/
XObject.js
@@
-59,6
+59,7
@@
function XObject (cfg) {
this.el = this.el || this.xtype(o);
}
if (typeof(this.xtype) == 'object') {
+ print(o);
this.el = this.el || new this.xtype(o);
}
print(this.el);
@@
-314,7
+315,7
@@
XObject.extend(XObject,
if(spp.constructor == Object.prototype.constructor){
spp.constructor=sp;
}
-
+
sb.override = function(o){
Object.extend(sb.prototype, o);
};