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:
2755007
)
XObject.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 18 May 2010 07:32:45 +0000
(15:32 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 18 May 2010 07:32:45 +0000
(15:32 +0800)
XObject.js
patch
|
blob
|
history
diff --git
a/XObject.js
b/XObject.js
index
bd76a29
..
adfc1ce
100644
(file)
--- a/
XObject.js
+++ b/
XObject.js
@@
-256,12
+256,15
@@
XObject.prototype = {
var pack_m = false;
if (typeof(item.pack) == 'string') {
var args = item.pack.split(',');
+
args.forEach(function(e, i) {
if (e == 'false') { args[i] = false; return; }
if (e == 'true') { args[i] = true; return; }
if (parseInt(e) !== NaN) { args[i] = parseInt(e); return; }
});
+ print(args.join(","));
+
pack_m = args.shift();
} else {
pack_m = item.pack.shift();