diff options
| author | Johannes Theiner <[email protected]> | 2023-07-17 18:36:25 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-07-17 12:36:25 -0400 |
| commit | e8f03522bc2ca211cc714b3b77beb6ed10ddaf12 (patch) | |
| tree | 1489c86429c89ed40748fe64a367cf9e5062a939 | |
| parent | 9be2b5d74806dcc4d4a4998328f424e69e23ad5a (diff) | |
| download | ai-pulse-obsidian-plugin-e8f03522bc2ca211cc714b3b77beb6ed10ddaf12.tar.gz ai-pulse-obsidian-plugin-e8f03522bc2ca211cc714b3b77beb6ed10ddaf12.zip | |
Adapt to plugin guidelines (#65)
- remove header in settings
- remove logging of changed settings value
| -rw-r--r-- | main.ts | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -120,8 +120,6 @@ class SampleSettingTab extends PluginSettingTab { containerEl.empty(); - containerEl.createEl('h2', {text: 'Settings for my awesome plugin.'}); - new Setting(containerEl) .setName('Setting #1') .setDesc('It\'s a secret') @@ -129,7 +127,6 @@ class SampleSettingTab extends PluginSettingTab { .setPlaceholder('Enter your secret') .setValue(this.plugin.settings.mySetting) .onChange(async (value) => { - console.log('Secret: ' + value); this.plugin.settings.mySetting = value; await this.plugin.saveSettings(); })); |
