Sha256: 5f4bb9cba718f24c1a28d9906cf5454ba4151594e8f4c8d4dee36b5c73b67c4a
Contents?: true
Size: 419 Bytes
Versions: 17
Compression:
Stored size: 419 Bytes
Contents
$(function() { function update() { $.getJSON("/status/counts", function(json, textStatus) { $("div.panel.pages").find("p.big-number").html(json.pages); $("div.panel.users").find("p.big-number").html(json.users); }); $.get("/status/server", function(data, textStatus, xhr) { $("div.panel.server").find("ul").replaceWith(data); }); setTimeout(update, 5000); }; update(); });
Version data entries
17 entries across 17 versions & 1 rubygems