Skip to content

Commit

Permalink
fix: eslint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
6eDesign committed Jan 26, 2020
1 parent 6bd6c1d commit d6df6ac
Show file tree
Hide file tree
Showing 10 changed files with 22 additions and 20 deletions.
2 changes: 1 addition & 1 deletion docs/bundle.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions docs/bundle.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/bundle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/bundle.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/test.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions docs/test.css.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/test.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/test.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/Components/Datepicker.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@
const getDay = (m, d, y) => {
let theMonth = months.find(aMonth => aMonth.month === m && aMonth.year === y);
if (!theMonth) return null;
// eslint-disable-next-line
for (let i = 0; i < theMonth.weeks.length; ++i) {
// eslint-disable-next-line
for (let j = 0; j < theMonth.weeks[i].days.length; ++j) {
let aDay = theMonth.weeks[i].days[j];
if (aDay.month === m && aDay.day === d && aDay.year === y) return aDay;
Expand Down
2 changes: 1 addition & 1 deletion src/Components/NavBar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
function monthSelected(event, { m, i }) {
event.stopPropagation();
if (!m.selectable) return false;
if (!m.selectable) return;
dispatch('monthSelected', i);
toggleMonthSelectorOpen();
}
Expand Down

0 comments on commit d6df6ac

Please sign in to comment.