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:
a0e0212
)
XObject.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 14 May 2010 09:13:08 +0000
(17:13 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 14 May 2010 09:13:08 +0000
(17:13 +0800)
XObject.js
patch
|
blob
|
history
diff --git
a/XObject.js
b/XObject.js
index
b2e4d85
..
d9ff152
100644
(file)
--- a/
XObject.js
+++ b/
XObject.js
@@
-58,11
+58,12
@@
function XObject (cfg) {
for (var i in cfg) {
this[i] = cfg[i];
- if (
(typeof(cfg[i]) == 'function') || (typeof(cfg[i]) == 'object')) {
+ if (
typeof(cfg[i]) == 'function') { // do we skip objects.
continue;
}
// these properties are not copied to cfg.
if (i == 'pack' ||
+ i == 'items' ||
i == 'id' ||
i == 'xtype' ||
i == 'xdebug' ||