Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Crappy dashboard

  • Loading branch information...
commit 95dac34d824a16a47526ce6231d4959ef64f2685 1 parent a947eae
Hunter Morris authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 priv/js/bigwig.js
View
5 priv/js/bigwig.js
@@ -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.
Something went wrong with that request. Please try again.