|
|
@ -1,6 +1,8 @@ |
|
|
|
timelinesApp |
|
|
|
timelinesApp |
|
|
|
.filter('historicalDateKind', function() { |
|
|
|
.filter('historicalDateKind', function() { |
|
|
|
return function(nodeData, dateOption) { |
|
|
|
return function(nodeData, dateOption) { |
|
|
|
|
|
|
|
if (!nodeData.does_historical_differ()) return; |
|
|
|
|
|
|
|
|
|
|
|
var newDate = nodeData[dateOption]; |
|
|
|
var newDate = nodeData[dateOption]; |
|
|
|
var oldDate = nodeData.historical()[dateOption]; |
|
|
|
var oldDate = nodeData.historical()[dateOption]; |
|
|
|
|
|
|
|
|
|
|
|