diff --git a/src/view.map.js b/src/view.map.js index 5fb0ff4e..bf864c46 100644 --- a/src/view.map.js +++ b/src/view.map.js @@ -461,8 +461,8 @@ my.Map = Backbone.View.extend({ var self = this; this.map = new L.Map(this.$map.get(0)); - var mapUrl = "//otile{s}-s.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.png"; - var osmAttribution = 'Map data © 2011 OpenStreetMap contributors, Tiles Courtesy of MapQuest '; + var mapUrl = "http://otile{s}-s.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.png"; + var osmAttribution = 'Map data © 2011 OpenStreetMap contributors, Tiles Courtesy of MapQuest '; var bg = new L.TileLayer(mapUrl, {maxZoom: 18, attribution: osmAttribution ,subdomains: '1234'}); this.map.addLayer(bg); diff --git a/test/view.timeline.test.js b/test/view.timeline.test.js index 12850279..b3948922 100644 --- a/test/view.timeline.test.js +++ b/test/view.timeline.test.js @@ -20,6 +20,7 @@ test('extract dates and timelineJSON', function () { 'date': [ { 'startDate': '2012,03,20', + 'tag': undefined, 'endDate': null, 'headline': '1', 'text': '
Date: 2012-03-20
title: 1
' @@ -28,6 +29,7 @@ test('extract dates and timelineJSON', function () { 'startDate': '2012,03,25', 'endDate': null, 'headline': '2', + 'tag': undefined, 'text': '
Date: 2012-03-25
title: 2
' } ]