Add year picker

This commit is contained in:
Arne Schlüter 2015-02-07 18:45:10 +01:00
commit c75a34c250
14 changed files with 67 additions and 9703 deletions

View file

@ -1,5 +1,13 @@
(function () {
// set up background map
var map = L.map('map').setView([52.50, 13.40], 11);
var layer = new L.StamenTileLayer("toner-lite");
map.addLayer(layer);
$.get('/articles')
.fail(console.error.bind(console))
.then(function (data) {
console.log('Got data successfully!');
console.log(data);
});
})();