Builder/RightGtkView.js
authorAlan Knowles <alan@akbkhome.com>
Tue, 11 May 2010 08:18:17 +0000 (16:18 +0800)
committerAlan Knowles <alan@akbkhome.com>
Tue, 11 May 2010 08:18:17 +0000 (16:18 +0800)
Builder/RightGtkView.js

index 23224bc..3f70fe6 100755 (executable)
@@ -265,12 +265,12 @@ RightGtkView = new XObject({
                 if (typeof(i) == 'string' && i[0] == '|') {
                     // does not hapepnd with arrays..
                     els.push(JSON.stringify(i.substring(1)) + ":" + obj[i]);
-                    continue;
+                    return;
                 }
                 var left = isArray ? ('' +i) : (JSON.stringify(i) + " : " )
                 if (typeof(el) == 'object') {
                     els.push(left + _this.mungeToString(el));
-                    continue;
+                    return;
                 }
                 els.push(JSON.stringify(i) + ":" + obj[i]);
             });