Skip to content

Commit

Permalink
Check in dist.
Browse files Browse the repository at this point in the history
  • Loading branch information
metasyn authored and Alexander Johnson committed Mar 14, 2019
1 parent 05544ce commit c2678b1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dist/app.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
});
Expand Down

0 comments on commit c2678b1

Please sign in to comment.