Skip to content

Instantly share code, notes, and snippets.

View timfjord's full-sized avatar
🐇

Tim Masliuchenko timfjord

🐇
  • RingCentral
  • UK
View GitHub Profile
@timfjord
timfjord / br.js
Created October 31, 2012 11:01 — forked from anonymous/br.js
Basecamp report
var result = {}; $$('.entry').each(function(item) { var key = item.down('.date a').innerHTML; value = parseFloat(item.down('.hours').innerHTML); if (result[key]) { result[key]+= value; } else { result[key] = value; } }); console.log(result);