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:
5d25e8e
)
XObject.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 14 May 2010 09:12:34 +0000
(17:12 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 14 May 2010 09:12:34 +0000
(17:12 +0800)
XObject.js
patch
|
blob
|
history
diff --git
a/XObject.js
b/XObject.js
index
e70cbdd
..
b2e4d85
100644
(file)
--- a/
XObject.js
+++ b/
XObject.js
@@
-58,7
+58,7
@@
function XObject (cfg) {
for (var i in cfg) {
this[i] = cfg[i];
- if ((typeof(cfg[i]) == 'function') || (typeof(cfg[i]) == '
function
')) {
+ if ((typeof(cfg[i]) == 'function') || (typeof(cfg[i]) == '
object
')) {
continue;
}
// these properties are not copied to cfg.