master
Tomek Dubrownik 2013-08-21 19:13:36 +02:00
parent 3b81d567f0
commit 46a743ffbf
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ window.onload = function() {
var xhr = new XMLHttpRequest();
xhr.open("GET", 'https://kasownik.hackerspace.pl/api/month/' + year + '/' + month + '.json', false);
xhr.send();
var res = JSON.parse(xhr.response),
var res = JSON.parse(xhr.response).content,
date = new Date();
date.setYear(year);
date.setMonth(month);