More console logging for wave

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@105 eee81c28-f429-11dd-99c0-75d572ba1ddd
master
Jeff Schiller 2009-06-12 04:23:30 +00:00
parent b1a2b1e3b2
commit 2a71889005
1 changed files with 6 additions and 3 deletions

View File

@ -184,7 +184,10 @@ 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);
console.log("e="+e);
console.log("this=" + this);
console.log("state=" + state);
console.log("keys=" + keys);
var v = state.get(e.nodeId);
if (v) {
var ob;
@ -221,8 +224,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);
console.log("elem="+elem);
console.log("delta="+delta);
wave.getState().submitDelta(delta);
}