commit 1cba3966756b2a305eefe19f86ff2227258c1095 parent ae59249206fcfe34a9cacfecb734d240c7634ce1 Author: Simon Kornblith <simon@simonster.com> Date: Tue, 28 Jun 2011 00:50:50 +0000 Indent translator metadata with tabs instead of spaces Diffstat:
| M | chrome/content/zotero/xpcom/translation/translator.js | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/chrome/content/zotero/xpcom/translation/translator.js b/chrome/content/zotero/xpcom/translation/translator.js @@ -367,7 +367,7 @@ Zotero.Translators = new function() { destFile.append(fileName); // JSON.stringify (FF 3.5.4 and up) has the benefit of indenting JSON - var metadataJSON = JSON.stringify(metadata,null,8); + var metadataJSON = JSON.stringify(metadata, null, "\t"); var str = metadataJSON + "\n\n" + code;