Merge branch 'master' into rename-repo-url

This commit is contained in:
vvakame
2016-03-17 21:06:54 +09:00
1140 changed files with 179704 additions and 179635 deletions

View File

@@ -5,7 +5,7 @@
declare var alertify: alertify.IAlertifyStatic;
declare module alertify {
declare namespace alertify {
interface IAlertifyStatic {
/**
* Create an alert dialog box
@@ -16,7 +16,7 @@ declare module alertify {
* @since 0.0.1
*/
alert(message: string, fn?: Function, cssClass?: string): IAlertifyStatic;
/**
* Create a confirm dialog box
* @param message The message passed from the callee
@@ -26,7 +26,7 @@ declare module alertify {
* @since 0.0.1
*/
confirm(message: string, fn?: Function, cssClass?: string): IAlertifyStatic;
/**
* Extend the log method to create custom methods
* @param type Custom method name
@@ -34,7 +34,7 @@ declare module alertify {
* @since 0.0.1
*/
extend(type: string): (message: string, wait?: number) => IAlertifyStatic;
/**
* Initialize Alertify and create the 2 main elements.
* Initialization will happen automatically on the first
@@ -42,7 +42,7 @@ declare module alertify {
* @since 0.0.1
*/
init(): void;
/**
* Show a new log message box
* @param message The message passed from the callee
@@ -52,7 +52,7 @@ declare module alertify {
* @since 0.0.1
*/
log(message: string, type?: string, wait?: number): IAlertifyStatic;
/**
* Create a prompt dialog box
* @param message The message passed from the callee
@@ -63,7 +63,7 @@ declare module alertify {
* @since 0.0.1
*/
prompt(message: string, fn?: Function, placeholder?: string, cssClass?: string): IAlertifyStatic;
/**
* Shorthand for log messages
* @param message The message passed from the callee
@@ -71,7 +71,7 @@ declare module alertify {
* @since 0.0.1
*/
success(message: string): IAlertifyStatic;
/**
* Shorthand for log messages
* @param message The message passed from the callee
@@ -79,14 +79,14 @@ declare module alertify {
* @since 0.0.1
*/
error(message: string): IAlertifyStatic;
/**
* Used to set alertify properties
* @param Properties
* @since 0.2.11
*/
set(args: IProperties): void;
/**
* The labels used for dialog buttons
*/
@@ -105,13 +105,13 @@ declare module alertify {
interface IProperties {
/** Default value for milliseconds display of log messages */
delay?: number;
/** Default values for display of labels */
labels?: ILabels;
/** Default button for focus */
buttonFocus?: string;
/** Should buttons be displayed in reverse order */
buttonReverse?: boolean;
}
@@ -121,4 +121,4 @@ declare module alertify {
ok?: string;
cancel?: string;
}
}
}