JSDOC/Packer.js
[gnome.introspection-doc-generator] / JSDOC / Packer.js
index 2d024da..bd8f306 100644 (file)
@@ -476,7 +476,7 @@ Packer.prototype = {
             return false;
             
         }
-         
+        
         
         for (var i=0;i<toks.length;i++) {
             
@@ -545,10 +545,10 @@ Packer.prototype = {
             if (!v.length) {
                 continue;
             }
-            File.append(transfile, l + "\n\t" + JSON.stringify(v) + " : " + JSON.stringify(v));
+            File.append(transfile, l + "\n\t\"" + v  + "\" : \"" + v);
             l = ',';
             // strings are raw... - as the where encoded to start with!!!
-            File.append(transmd5, '_T["' + this.md5(ffn + '-' + v) + '"]='+JSON.stringify(v)+";\n");
+            File.append(transmd5, '_T["' + this.md5(ffn + '-' + v) + '"]="'+v+"\";\n");
         }
         File.append(transfile, "\n},"); // always one trailing..