From cf3904d6f0e00e45e1eb943c5431b1f0a2d63c2e Mon Sep 17 00:00:00 2001 From: aliounedia Date: Wed, 15 Oct 2014 20:02:54 +0200 Subject: [PATCH 1/2] TimeLineJs test fail , Fixed , all test pass now --- test/view.timeline.test.js | 2 ++ 1 file changed, 2 insertions(+) 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
' } ] From 3f4a30e054652d06b92cfe372ce66c8b5c79d4ca Mon Sep 17 00:00:00 2001 From: aliounedia Date: Wed, 15 Oct 2014 20:06:28 +0200 Subject: [PATCH 2/2] (http) not figured on recline.view.map , so this cause probleme on FireFox plugin , FireFox will automatically add source:// when it does not find http, so this should be Fixed , see https://github.com/okfn/mozilla-csv-viewer --- src/view.map.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);