From eede055dfe68c460e5b9b4c694cf5c5bfe327d7a Mon Sep 17 00:00:00 2001 From: John Bintz Date: Mon, 17 Oct 2011 19:47:42 -0400 Subject: [PATCH] console.peek seems like a good idea, let's try it --- skel/template.html.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/skel/template.html.erb b/skel/template.html.erb index ae3b006..d44a535 100644 --- a/skel/template.html.erb +++ b/skel/template.html.erb @@ -28,6 +28,9 @@ } }, pp: function(data) { JHW.log(jasmine ? jasmine.pp(data) : JSON.stringify(data)); + }, peek: function(data) { + console.log(data); + return data; } }; window.onbeforeunload = function(e) {