Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/ChofetzChaimEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ export class ChofetzChaimEvent extends DailyLearningEvent {
super(date, desc);
this.reading = reading;
this.memo = this.render('memo');
this.alarm = false;
this.category = 'Chofetz Chaim';
}
/**
Expand Down
1 change: 0 additions & 1 deletion src/DafWeeklyEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {DafPageEvent} from './DafPageEvent';
export class DafWeeklyEvent extends DafPageEvent {
constructor(date: HDate, daf: DafPage) {
super(date, daf, flags.DAILY_LEARNING);
this.alarm = false;
this.category = 'Daf Weekly';
}
getCategories(): string[] {
Expand Down
1 change: 1 addition & 0 deletions src/DailyLearningEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ import {Event, flags} from '@hebcal/core/dist/esm/event';
export class DailyLearningEvent extends Event {
constructor(date: HDate, desc: string, mask: number = flags.DAILY_LEARNING) {
super(date, desc, mask);
this.alarm = false;
}
}
1 change: 0 additions & 1 deletion src/DailyRambam3Event.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export class DailyRambam3Event extends DailyLearningEvent {
super(date, desc);
this.readings = collapsed;
this.events = collapsed.map(r => new DailyRambamEvent(date, r));
this.alarm = false;
this.category = 'Daily Rambam';
if (collapsed.length > 1) {
this.memo = this.events
Expand Down
1 change: 0 additions & 1 deletion src/DailyRambamEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export class DailyRambamEvent extends DailyLearningEvent {
constructor(date: HDate, reading: RambamReading) {
super(date, `${reading.name} ${reading.perek}`);
this.reading = reading;
this.alarm = false;
this.category = 'Daily Rambam';
}
/**
Expand Down
1 change: 0 additions & 1 deletion src/KitzurShulchanAruchEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ export class KitzurShulchanAruchEvent extends DailyLearningEvent {
this.reading = reading;
this.optionB = optionB;
this.leapAdar2 = date.isLeapYear() && date.getMonth() === months.ADAR_II;
this.alarm = false;
this.category = BOOK_NAME;
}
/**
Expand Down
1 change: 0 additions & 1 deletion src/PirkeiAvotSummerEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export class PirkeiAvotSummerEvent extends DailyLearningEvent {
constructor(date: HDate, reading: number[]) {
super(date, PIRKEI_AVOT + ' ' + reading.join('-'));
this.reading = reading;
this.alarm = false;
this.category = PIRKEI_AVOT;
}
/**
Expand Down
1 change: 0 additions & 1 deletion src/PsalmsEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export class PsalmsEvent extends DailyLearningEvent {
constructor(date: HDate, reading: PsalmBeginEnd) {
super(date, `Psalms ${reading[0]}-${reading[1]}`);
this.reading = reading;
this.alarm = false;
this.category = 'Psalms';
}
/**
Expand Down
1 change: 0 additions & 1 deletion src/SeferHaMitzvotEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export class SeferHaMitzvotEvent extends DailyLearningEvent {
const desc = `Day ${reading.day}: ${reading.reading}`;
super(date, desc);
this.reading = reading;
this.alarm = false;
this.category = 'Sefer Hamitzvot';
if (reading.note) {
this.memo = reading.note;
Expand Down
1 change: 0 additions & 1 deletion src/ShemiratHaLashonEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export class ShemiratHaLashonEvent extends DailyLearningEvent {
super(date, desc);
this.reading = reading;
this.memo = this.render('memo');
this.alarm = false;
this.category = 'Shemirat HaLashon';
}
/**
Expand Down
1 change: 0 additions & 1 deletion src/TanakhYomiEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {TanakhYomi} from './tanakhYomiBase';
export class TanakhYomiEvent extends DafPageEvent {
constructor(date: HDate, daf: TanakhYomi) {
super(date, daf, flags.DAILY_LEARNING);
this.alarm = false;
this.category = 'Tanakh Yomi';
this.memo = daf.verses;
}
Expand Down
6 changes: 6 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,9 @@ export {
KitzurShulchanAruchReading,
} from './kitzurShulchanAruchBase';
export {KitzurShulchanAruchEvent} from './KitzurShulchanAruchEvent';
export {
DirshuAmudYomi,
calculateDirshuAmud,
dirshuAmudYomiStart,
} from './dirshuAmudYomiBase';
export {DirshuAmudYomiEvent} from './DirshuAmudYomiEvent';
Loading