source/js/main.js
// use pickadate unless browser supports input type=date.
use pickadate unless browser supports input type=date.
use pickadate unless browser supports input type = date .
function checkDateInput() {
	var input = document.createElement('input');
	input.setAttribute('type','date');
	var notADateValue = 'not-a-date';
	input.setAttribute('value', notADateValue);
	return !(input.value === notADateValue) && input.type == 'date';
}
function checkDateInput ( ) { var input = document . createElement ( 'input' ) ; input . setAttribute ( 'type' , 'date' ) ; var notADateValue = 'not-a-date' ; input . setAttribute ( 'value' , notADateValue ) ; return ! ( input . value === notADateValue ) && input . type == 'date' ; }
use pickadate unless browser supports input type=date.
use pickadate unless browser supports input type = date .