...slightly better version
git-svn-id: http://svg-edit.googlecode.com/svn/trunk@124 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
@@ -230,7 +230,7 @@ SVG-edit Google Wave Gadget @ <a href="http://svg-edit.googlecode.com/" target="
|
|||||||
else {
|
else {
|
||||||
c.push(h);
|
c.push(h);
|
||||||
c.push(wave.util.toSpaces_(g));
|
c.push(wave.util.toSpaces_(g));
|
||||||
c.push("'" + i + "'" + ": ");
|
c.push("'" + i + "':");
|
||||||
c.push(k);
|
c.push(k);
|
||||||
c.push(myPrintJson(j, b, g + 1))
|
c.push(myPrintJson(j, b, g + 1))
|
||||||
}
|
}
|
||||||
@@ -252,7 +252,7 @@ SVG-edit Google Wave Gadget @ <a href="http://svg-edit.googlecode.com/" target="
|
|||||||
attrs[a.item(i).nodeName] = a.item(i).nodeValue;
|
attrs[a.item(i).nodeName] = a.item(i).nodeValue;
|
||||||
}
|
}
|
||||||
var ob = { element: elem.nodeName, attr: attrs };
|
var ob = { element: elem.nodeName, attr: attrs };
|
||||||
// printJson seems to have a problem not quoting keys like 'stroke-width'
|
// wave.util.printJson has a bug where keys are not quoted like 'stroke-width'
|
||||||
delta[elem.id] = myPrintJson(ob, true);
|
delta[elem.id] = myPrintJson(ob, true);
|
||||||
wave.getState().submitDelta(delta);
|
wave.getState().submitDelta(delta);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user