fixed setOptions & tests

This commit is contained in:
Kon P
2014-08-28 22:26:00 -07:00
parent 173f4b0841
commit 99e5a01f09
2 changed files with 11 additions and 2 deletions
+2 -2
View File
@@ -42,7 +42,7 @@ interface BootboxDefaultOptions {
locale?: string;
show?: boolean;
backdrop?: boolean;
closeButton: boolean;
closeButton?: boolean;
animate?: boolean;
className?: string;
}
@@ -56,7 +56,7 @@ interface BootboxStatic {
prompt(options: BootboxPromptOptions): void;
dialog(message: string, callback?: (result: string) => void): void;
dialog(options: BootboxDialogOptions): void;
setDefaults(options): void;
setDefaults(options: BootboxDefaultOptions): void;
hideAll(): void;
}