Created
June 13, 2014 13:15
-
-
Save cokara/bc21cf7040bc49be5978 to your computer and use it in GitHub Desktop.
Unique number of failed queues.
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
(function() { var fails = {}; $('tr').each(function(ind, row) { var last = +row.children[4].innerText, name = row.children[0].innerText; if(last && name != 'Total'){ fails[name] = last; } } ); console.log(fails); console.log(Object.keys(fails).length); }()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment