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:
40af079
)
builder.html.js
author
Alan Knowles
<alan@akbkhome.com>
Fri, 11 Jun 2010 04:06:02 +0000
(12:06 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Fri, 11 Jun 2010 04:06:02 +0000
(12:06 +0800)
builder.html.js
patch
|
blob
|
history
diff --git
a/builder.html.js
b/builder.html.js
index
11c6957
..
9af65e7
100644
(file)
--- a/
builder.html.js
+++ b/
builder.html.js
@@
-186,8
+186,9
@@
Builder = {
delete cfg[p];
continue;
}
+ var pp = p.charAt(0) == '|' ? p.substring(1) : p;
try {
- var pp = p.charAt(0) == '|' ? p.substring(1) : p;
+
var _tmp = false;
@@
-206,7
+207,10
@@
Builder = {
} catch(e) {
console.log('Error evaluating: ' + cfg[p] + "\r\n" + JSON.stringify(e));
};
- delete cfg[p];
+ if (pp != p) {
+ delete cfg[p];
+ }
+
continue;