Skip to content
This repository was archived by the owner on Sep 25, 2021. It is now read-only.

Commit 8c07b42

Browse files
committed
fix for 0.7.9
1 parent 4b98b5e commit 8c07b42

4 files changed

Lines changed: 4 additions & 336 deletions

File tree

app.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class AtomicCalendar extends LitElement {
5757
let start = moment().add(this.config.startDaysAhead, 'days').startOf('day').format('YYYY-MM-DDTHH:mm:ss');
5858
let end = moment().add((this.config.maxDaysToShow + this.config.startDaysAhead), 'days').endOf('day').format('YYYY-MM-DDTHH:mm:ss');
5959
this.firstrun=false
60-
console.log("atomic_calendar v0.7.5 loaded")
60+
console.log("atomic_calendar v0.7.9 loaded")
6161
}
6262

6363

@@ -762,7 +762,7 @@ class AtomicCalendar extends LitElement {
762762
eventsArray.map((event, i) => {
763763
const startTime = event.start.dateTime ? moment(event.start.dateTime) : moment(event.start.date).startOf('day')
764764
const endTime = event.end.dateTime ? moment(event.end.dateTime) : moment(event.end.date).subtract(1, 'days').endOf('day')
765-
console.log(event.summary," - ",this.checkFilter(event.summary, calendarBlacklist))
765+
766766
if (!moment(startTime).isAfter(m.date, 'day') && !moment(endTime).isBefore(m.date, 'day') && calendarTypes && !this.checkFilter(event.summary, calendarBlacklist))
767767
//checking for calendar type (icons) and keywords
768768
try {

atomic-calendar.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/atomic_calendar.js

Lines changed: 1 addition & 332 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"main": "atomic-calendar.js",
66
"scripts": {
77
"lint": "./node_modules/.bin/eslint app.js",
8-
"babel": "babel atomic-calendar.js --out-file atomic-calendar.js",
8+
"babel": "babel dist/atomic_calendar.js --out-file dist/atomic_calendar.js",
99
"rollup": "rollup -c",
1010
"build": "npm run rollup && npm run babel",
1111
"watch": "rollup -c --watch --config rollup-dev.config.js"

0 commit comments

Comments
 (0)