Removed extra build files
This commit is contained in:
parent
4a9f52df3a
commit
bc77246e44
3 changed files with 9 additions and 12 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -12,5 +12,8 @@ package-lock.json
|
|||
# obsidian
|
||||
data.json
|
||||
|
||||
#build_files
|
||||
main.js
|
||||
|
||||
#vscode
|
||||
.vscode
|
||||
9
main.js
9
main.js
File diff suppressed because one or more lines are too long
|
|
@ -1,4 +1,4 @@
|
|||
import { Notice, Plugin } from "obsidian";
|
||||
import { Plugin } from "obsidian";
|
||||
import { HabiticaSyncSettingsTab } from "./settings";
|
||||
import { HabiticaSyncView, VIEW_TYPE} from "./view"
|
||||
|
||||
|
|
@ -14,15 +14,12 @@ export default class HabiticaSync extends Plugin {
|
|||
settings: HabiticaSyncSettings;
|
||||
view: HabiticaSyncView;
|
||||
|
||||
displayNotice(message: string){
|
||||
new Notice(message)
|
||||
}
|
||||
async onload() {
|
||||
await this.loadSettings();
|
||||
this.addSettingTab(new HabiticaSyncSettingsTab(this.app, this));
|
||||
this.registerView(
|
||||
VIEW_TYPE,
|
||||
(leaf) => (this.view = new HabiticaSyncView(leaf, this))
|
||||
(leaf) => (new HabiticaSyncView(leaf, this))
|
||||
);
|
||||
this.addRibbonIcon("popup-open", "Open Habitica Pane", () => { //activate view
|
||||
this.activateView();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue