console.peek seems like a good idea, let's try it

This commit is contained in:
John Bintz 2011-10-17 19:47:42 -04:00
parent 82052d7803
commit eede055dfe

View File

@ -28,6 +28,9 @@
} }
}, pp: function(data) { }, pp: function(data) {
JHW.log(jasmine ? jasmine.pp(data) : JSON.stringify(data)); JHW.log(jasmine ? jasmine.pp(data) : JSON.stringify(data));
}, peek: function(data) {
console.log(data);
return data;
} }; } };
window.onbeforeunload = function(e) { window.onbeforeunload = function(e) {