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:
7574b5a
)
XObject.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 18 May 2010 07:31:29 +0000
(15:31 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 18 May 2010 07:31:29 +0000
(15:31 +0800)
XObject.js
patch
|
blob
|
history
diff --git
a/XObject.js
b/XObject.js
index
e4114e3
..
bd76a29
100644
(file)
--- a/
XObject.js
+++ b/
XObject.js
@@
-257,6
+257,7
@@
XObject.prototype = {
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; }