Sha256: 8815eb4e299f6af7ceb8df544b0fcf061dcec5f5ec8c3ddd5a4e2daad20cbefe
Contents?: true
Size: 753 Bytes
Versions: 1
Compression:
Stored size: 753 Bytes
Contents
$(document).ready(function() { return $.getJSON("" + WebTools.location + "/version", function(data) { var error, tbody, thead; error = data['_error']; if (error != null) { console.log(data); return alert(error + ' (see console log for stack)'); } else { thead = $('#versionHeaders'); $(data.headers).each(function(idx, element) { return thead.append("<th title='" + element[1] + "'>" + element[0] + "</th>"); }); tbody = $('#versionTable'); $.each(data.report, function(k, v) { return tbody.append("<tr><th>" + k + "</th><td>" + v[0] + "</td><td>" + v[1] + "</td></tr>"); }); return $('#versionTimestamp').html("Report generated " + data.timestamp); } }); });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
maglev-webtools-0.2.1 | public/javascript/webtools/version.js |