View RevDate.js
"use strict"; | |
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } | |
var RevDate = function RevDate(dateparse) { | |
_classCallCheck(this, RevDate); | |
var moment = new Date(); | |
if (typeof dateparse !== 'undefined') { | |
moment = new Date(dateparse); |