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:
c863f10
)
builder.html.js
author
Alan Knowles
<alan@akbkhome.com>
Thu, 6 May 2010 10:18:54 +0000
(18:18 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 6 May 2010 10:18:54 +0000
(18:18 +0800)
builder.html.js
patch
|
blob
|
history
diff --git
a/builder.html.js
b/builder.html.js
index
c49432e
..
e74a5d5
100644
(file)
--- a/
builder.html.js
+++ b/
builder.html.js
@@
-265,6
+265,11
@@
Builder = {
for(var item in arr) {
var value = arr[item];
+ if(typeof(value) == 'function') { //If it is an array,
+ // fake dump...
+ dumped_text += level_padding + "'" + item + "' => \"FUNCTION\"\n";
+ continue;
+ }
if(typeof(value) == 'object') { //If it is an array,
dumped_text += level_padding + "'" + item + "' ...\n";
dumped_text += this.dump(value,level+1);