projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
201dbfe
)
XObject.js
author
alan
<alan@alanfast.akbkhome.com>
Thu, 15 Apr 2010 11:55:02 +0000
(19:55 +0800)
committer
alan
<alan@alanfast.akbkhome.com>
Thu, 15 Apr 2010 11:55:02 +0000
(19:55 +0800)
XObject.js
patch
|
blob
|
history
diff --git
a/XObject.js
b/XObject.js
index
3013712
..
43e4fa7
100644
(file)
--- a/
XObject.js
+++ b/
XObject.js
@@
-82,14
+82,12
@@
function XObject (cfg) {
Seed.print('Invalid xtype: ' + o.xns + '.' + o.xtype);
}
this.el = isSeed ? new constructor(o) : new constructor();
- if (!isSeed) {
- // this might work for gjs!?
- for (var i in o) {
- this.el[i] = o;
- }
- }
+
+ }
+ // always overlay props..
+ for (var i in o) {
+ this.el[i] = o;
}
-
// register it!
//if (o.xnsid && o.xid) {
// XObject.registry = XObject.registry || { };