From d1795000f00670eff014d1a43ae53fe910d550fa Mon Sep 17 00:00:00 2001 From: Jeff Schiller Date: Fri, 12 Jun 2009 12:57:35 +0000 Subject: [PATCH] Our own json string that quotes keys git-svn-id: http://svg-edit.googlecode.com/svn/trunk@122 eee81c28-f429-11dd-99c0-75d572ba1ddd --- wave/svg-edit.xml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/wave/svg-edit.xml b/wave/svg-edit.xml index bb6aa42a..a8547e44 100644 --- a/wave/svg-edit.xml +++ b/wave/svg-edit.xml @@ -212,6 +212,36 @@ SVG-edit Google Wave Gadget @ 0 && c.push(", "); + if(f) + c.push(myPrintJson(j, b, g + 1)); + else { + c.push(h); + c.push(wave.util.toSpaces_(g)); + c.push("'" + i + "'" + ": "); + c.push(k); + c.push(myPrintJson(j, b, g + 1)) + } + } + if(!f) { + c.push(h); + c.push(wave.util.toSpaces_(g - 1)) + } + c.push(d.charAt(1)); + return c.join("") + } function sendDelta(svgCanvas, elem) { if (!wave) return;