Builder/Provider/File/Base.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 27 Jul 2010 07:24:09 +0000 (15:24 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 27 Jul 2010 07:24:09 +0000 (15:24 +0800)
Builder/Provider/File/Base.js

index 73bb730..0fe5431 100644 (file)
@@ -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, "\\'") + "'");