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:
af179db
)
Builder/Provider/File/Base.js
author
Alan Knowles
<alan@akbkhome.com>
Tue, 27 Jul 2010 07:24:09 +0000
(15:24 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Tue, 27 Jul 2010 07:24:09 +0000
(15:24 +0800)
Builder/Provider/File/Base.js
patch
|
blob
|
history
diff --git
a/Builder/Provider/File/Base.js
b/Builder/Provider/File/Base.js
index
73bb730
..
0fe5431
100644
(file)
--- a/
Builder/Provider/File/Base.js
+++ b/
Builder/Provider/File/Base.js
@@
-336,7
+336,7
@@
Base = XObject.define(
// standard. .
if (typeof(obj[i]) != 'string') {
els.push(left + JSON.stringify(obj[i]));
-
continue
;
+
return
;
}
// strings..
if (!this.doubleStringProps) {
@@
-344,7
+344,7
@@
Base = XObject.define(
}
if (this.doubleStringProps.indexOf(i) > -1) {
els.push(left + JSON.stringify(obj[i]));
-
continue
;
+
return
;
}
// single quote..
els.push(left + "'" + v.replace(/'/g, "\\'") + "'");