Created
June 26, 2012 12:14
Dump JSON describing android bugs on BugSense
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.log(JSON.stringify($('#error-sum-table .e').map(function(i, x) { | |
var $x = $(x); | |
var message = $x.find('.error-name').text().trim(); | |
var count = parseInt($x.find('.counter').text().trim()); | |
var filegroups = $x.find('.class-file').text().trim().match(/File: ([^ ]*)/); | |
var appvers = $x.find('.app_version').map(function(i, x) { | |
return $(x).text().trim(); | |
}); | |
var bugid = $x.find('.middle').data('id'); | |
return { | |
message: message, | |
count: count, | |
file: filegroups[1], | |
versions: appvers.toArray(), | |
bugid: bugid | |
}; | |
}).toArray())) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment