mirror of
https://github.com/calfmoon/node-factor.git
synced 2026-07-22 12:20:32 +00:00
refactor: rename Sample to NodeFactor
This commit is contained in:
parent
e938aa9dea
commit
11c2d86cf8
3 changed files with 5 additions and 5 deletions
|
|
@ -9,8 +9,8 @@
|
|||
"version": "node version-bump.mjs && git add manifest.json versions.json"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "MIT",
|
||||
"author": "CalfMoon",
|
||||
"license": "OBSD",
|
||||
"devDependencies": {
|
||||
"@types/node": "^16.11.6",
|
||||
"@typescript-eslint/eslint-plugin": "5.29.0",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { Plugin } from "obsidian";
|
||||
|
||||
import { ObsidianNode, NodeFactorSettings, DEFAULT_SETTINGS } from "./types";
|
||||
import SampleSettingTab from "./settings";
|
||||
import NodeFactorSettingTab from "./settings";
|
||||
|
||||
export default class NodeFactor extends Plugin {
|
||||
settings: NodeFactorSettings;
|
||||
|
|
@ -17,7 +17,7 @@ export default class NodeFactor extends Plugin {
|
|||
|
||||
async onload() {
|
||||
await this.loadSettings();
|
||||
this.addSettingTab(new SampleSettingTab(this.app, this));
|
||||
this.addSettingTab(new NodeFactorSettingTab(this.app, this));
|
||||
|
||||
this.registerEvent(
|
||||
this.app.workspace.on("layout-change", () => {
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import { App, PluginSettingTab, Setting } from "obsidian";
|
|||
|
||||
import NodeFactor from "./main";
|
||||
|
||||
export default class SampleSettingTab extends PluginSettingTab {
|
||||
export default class NodeFactorSettingTab extends PluginSettingTab {
|
||||
plugin: NodeFactor;
|
||||
|
||||
constructor(app: App, plugin: NodeFactor) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue