This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"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); |