Sha256: 2cf25486b34e60133219d4c3b9c21a612d96a4bee81024509ee29073d5dbbec5
Contents?: true
Size: 618 Bytes
Versions: 1
Compression:
Stored size: 618 Bytes
Contents
$(document).ready -> $.getJSON "#{WebTools.location}/sessions", (data) -> error = data['_error'] if error? console.log(data) alert(error + ' (see console log for stack)') else thead = $('#sessionHeaders').children("tr") $(data.headers).each (idx, element) -> thead.append("<th title='#{element[1]}'>#{element[0]}</th>") tbody = $('#sessionTable') for session in data.report row = $('<tr>') for field in session row.append("<td>#{field}</td>") tbody.append(row) $('.timestamp').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/sessions.coffee |