Skip to content
This repository was archived by the owner on Nov 16, 2018. It is now read-only.

Commit 38937da

Browse files
committed
Moar linting
Close #63
1 parent 16ba5ac commit 38937da

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/DateTimePickerDays.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default class DateTimePickerDays extends Component {
2121
}
2222

2323
renderDays = () => {
24-
var cells, classes, days, html, i, month, nextMonth, prevMonth, minDate, maxDate, row, year, _i, _len, _ref;
24+
var cells, classes, days, html, month, nextMonth, prevMonth, minDate, maxDate, row, year;
2525
year = this.props.viewDate.year();
2626
month = this.props.viewDate.month();
2727
prevMonth = this.props.viewDate.clone().subtract(1, "months");
@@ -57,9 +57,7 @@ export default class DateTimePickerDays extends Component {
5757
classes.disabled = true;
5858
}
5959
if (this.props.daysOfWeekDisabled) {
60-
_ref = this.props.daysOfWeekDisabled;
61-
for (_i = 0, _len = _ref.length; _i < _len; _i++) {
62-
i = _ref[_i];
60+
for (let i = 0, len = this.props.daysOfWeekDisabled.length; i < len; i++) {
6361
if (prevMonth.day() === this.props.daysOfWeekDisabled[i]) {
6462
classes.disabled = true;
6563
break;

0 commit comments

Comments
 (0)