Skip to content

Commit

Permalink
main.js added
Browse files Browse the repository at this point in the history
  • Loading branch information
juliang22 committed May 16, 2022
1 parent fffc290 commit 5820d1b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion main.js

Large diffs are not rendered by default.

6 changes: 0 additions & 6 deletions main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,6 @@ export default class YoutubeTimestampPlugin extends Plugin {

// This adds a settings tab so the user can configure various aspects of the plugin
this.addSettingTab(new YoutubeTimestampPluginSettingTab(this.app, this));

// If the plugin hooks up any global DOM events (on parts of the app that doesn't belong to this plugin)
// Using this function will automatically remove the event listener when this plugin is disabled.
// this.registerDomEvent(document, 'click', (evt: MouseEvent) => {
// console.log('click', evt);
// });
}

async onunload() {
Expand Down

0 comments on commit 5820d1b

Please sign in to comment.