From c2678b1b2955bc5015f625fa0fe70b2faf6a9086 Mon Sep 17 00:00:00 2001 From: Xander Johnson Date: Thu, 14 Mar 2019 11:49:33 -0700 Subject: [PATCH] Check in dist. --- dist/app.bundle.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dist/app.bundle.js b/dist/app.bundle.js index 2079441..097e917 100644 --- a/dist/app.bundle.js +++ b/dist/app.bundle.js @@ -29001,16 +29001,17 @@ var Application = function (_Component) { var dates = this.state.dates; // Seriously, fuck javascript so much + // what the serious fuck is wrong with this language + // this is the most garbage language JFC function pad(n) { return n < 10 ? '0' + n : n; } - var dateString = newDate.getFullYear() + '-' + pad(newDate.getMonth() + 1) + '-' + pad(newDate.getDate()); + // Loop over all the dates and compare them to a specifc date we've been given // this is highly dependent on the way we've chosen to format the date var newDates = _lodash2.default.map(dates, function (dateObj) { - debugger; dateObj.checked = dateObj.date === dateString; return dateObj; });