Skip to content

Commit 3343eb7

Browse files
committed
update
1 parent c580fb7 commit 3343eb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libs/setting-utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @Author : frostime
44
* @Date : 2023-09-16 18:05:00
55
* @FilePath : /src/libs/setting-utils.ts
6-
* @LastEditTime : 2023-09-16 18:17:03
6+
* @LastEditTime : 2023-10-27 22:12:37
77
* @Description : A utility for siyuan plugin settings
88
*/
99

@@ -17,7 +17,7 @@ export class SettingUtils {
1717
settings: Map<string, ISettingItem> = new Map();
1818
elements: Map<string, HTMLElement> = new Map();
1919

20-
constructor(plugin: Plugin, name?: string, width?: string, height?: string, callback?: (data: any) => void) {
20+
constructor(plugin: Plugin, name?: string, callback?: (data: any) => void, width?: string, height?: string) {
2121
this.name = name ?? 'settings';
2222
this.plugin = plugin;
2323
this.file = this.name.endsWith('.json') ? this.name : `${this.name}.json`;

0 commit comments

Comments
 (0)