Console logging for wave

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@104 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Jeff Schiller 2009-06-12 04:13:21 +00:00
parent 56902f2e6a
commit b1a2b1e3b2
1 changed files with 3 additions and 0 deletions

View File

@ -184,6 +184,7 @@ SVG-edit Google Wave Gadget @ <a href="http://svg-edit.googlecode.com/">http://s
var keys = state.getKeys();
svgCanvas.each(function(e) {
//alert(e);
console.log(e);
var v = state.get(e.nodeId);
if (v) {
var ob;
@ -220,6 +221,8 @@ SVG-edit Google Wave Gadget @ <a href="http://svg-edit.googlecode.com/">http://s
}
var ob = { element: elem.nodeName, attr: attrs };
delta[elem.id] = wave.util.printJson(ob, false);
console.log(elem);
console.log(delta);
wave.getState().submitDelta(delta);
}