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:
8d1053d
)
builder.html.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 6 May 2010 10:19:43 +0000
(18:19 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 6 May 2010 10:19:43 +0000
(18:19 +0800)
builder.html.js
patch
|
blob
|
history
diff --git
a/builder.html.js
b/builder.html.js
index
c1d7613
..
66a1583
100644
(file)
--- a/
builder.html.js
+++ b/
builder.html.js
@@
-271,11
+271,12
@@
Builder = {
continue;
}
if(typeof(value) == 'object') { //If it is an array,
continue;
}
if(typeof(value) == 'object') { //If it is an array,
- dumped_text += level_padding + "'" + item + "'
...
\n";
+ dumped_text += level_padding + "'" + item + "'
: {
\n";
dumped_text += this.dump(value,level+1);
dumped_text += this.dump(value,level+1);
+ dumped_text += level_padding + "}\n";
continue;
}
continue;
}
- dumped_text += level_padding + "'" + item + "'
=>
\"" + value + "\"\n";
+ dumped_text += level_padding + "'" + item + "'
:
\"" + value + "\"\n";
}
} else { //Stings/Chars/Numbers etc.
}
} else { //Stings/Chars/Numbers etc.