projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ff198f
)
XObject.js
author
alan
<alan@alanfast.akbkhome.com>
Thu, 15 Apr 2010 10:48:37 +0000
(18:48 +0800)
committer
alan
<alan@alanfast.akbkhome.com>
Thu, 15 Apr 2010 10:48:37 +0000
(18:48 +0800)
XObject.js
patch
|
blob
|
history
diff --git
a/XObject.js
b/XObject.js
index
63ffadd
..
d20ce2a
100644
(file)
--- a/
XObject.js
+++ b/
XObject.js
@@
-142,7
+142,7
@@
XObject.prototype = {
//Seed.print('Pack ' + o.xtype + '.'+ pack_m + '(' + o.items[i].xtype + ')');
// copy.
var args = Array.prototype.slice.call(typeof(item.pack) == 'string' ? [] : item.pack);
-
item.pack
.unshift(item.el);
+
args
.unshift(item.el);
//Seed.print('args: ' + args.length);
if (pack_m) {
this.el[pack_m].apply(item.el, args);