Permalink
Browse files

Crappy dashboard

  • Loading branch information...
1 parent a947eae commit 95dac34d824a16a47526ce6231d4959ef64f2685 Hunter Morris committed Jul 11, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 priv/js/bigwig.js
View
@@ -28,5 +28,8 @@ BigWig = (function() {
})();
$(function() {
- TPL.fetch('/vm');
+ $.getJSON('/vm', function(json) {
+ $('#dashboard').append($('<h1>Dashboard dump</h1>'));
+ $('#dashboard').append($('<pre class="dbdump">' + JSON.stringify(json, null, 4) + '</pre>'));
+ });
});

0 comments on commit 95dac34

Please sign in to comment.