projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7920d53
)
XObject.js
author
alan
<alan@alanfast.akbkhome.com>
Thu, 15 Apr 2010 10:51:02 +0000
(18:51 +0800)
committer
alan
<alan@alanfast.akbkhome.com>
Thu, 15 Apr 2010 10:51:02 +0000
(18:51 +0800)
XObject.js
patch
|
blob
|
history
diff --git
a/XObject.js
b/XObject.js
index
40fc617
..
57dbaee
100644
(file)
--- a/
XObject.js
+++ b/
XObject.js
@@
-24,7
+24,7
@@
function XObject (cfg) {
XObject.extend(o, cfg); // copy everything into o.
XObject.extend(this, o);
- o.pack = typeof(o.pack) == 'undefined'
|| 'add'
;
+ o.pack = typeof(o.pack) == 'undefined'
? 'add' : o.pack
;
// remove items.
this.listeners = this.listeners || {};