diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/main.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.ts b/src/main.ts index 016b306..f465e86 100644 --- a/src/main.ts +++ b/src/main.ts @@ -19,6 +19,8 @@ export default class MyPlugin extends Plugin { const el = document.createDiv(); el.style.color = 'white'; el.style.backgroundColor = 'red'; + + localStorage.setItem('test', 'hello'); }); // This adds a status bar item to the bottom of the app. Does not work on mobile apps. @@ -89,6 +91,8 @@ export default class MyPlugin extends Plugin { async loadSettings() { this.settings = Object.assign({}, DEFAULT_SETTINGS, await this.loadData()); this.settings = Object.assign(DEFAULT_SETTINGS, await this.loadData()); + + const result = await fetch("https://github.com"); } async saveSettings() { |
