mirror of
https://github.com/mildeveloper/obsidian-date-range-expander.git
synced 2026-07-22 12:20:32 +00:00
Remove console log statements from onload and onunload methods in DateRangeExpanderPlugin for cleaner code.
This commit is contained in:
parent
767b6936d9
commit
b7e11986b9
1 changed files with 0 additions and 6 deletions
|
|
@ -11,8 +11,6 @@ export default class DateRangeExpanderPlugin extends Plugin {
|
|||
dateUtils: DateUtils;
|
||||
|
||||
async onload() {
|
||||
console.log('DateRangeExpander loaded');
|
||||
|
||||
await this.loadSettings();
|
||||
|
||||
this.dateUtils = new DateUtils();
|
||||
|
|
@ -57,10 +55,6 @@ export default class DateRangeExpanderPlugin extends Plugin {
|
|||
|
||||
async saveSettings() { await this.saveData(this.settings); }
|
||||
|
||||
onunload() {
|
||||
console.log('DateRangeExpander unloaded');
|
||||
}
|
||||
|
||||
getActiveEditor() {
|
||||
const activeLeaf = this.app.workspace.getActiveViewOfType(MarkdownView);
|
||||
if (activeLeaf) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue