Reorder overloads in 'mCustomScrollbar'.

This commit is contained in:
Daniel Rosenwasser
2015-08-12 19:05:02 -07:00
parent 7192d685cb
commit f8d51d29b3
+6 -6
View File
@@ -129,12 +129,6 @@ declare module MCustomScrollbar {
}
interface JQuery {
/**
* Creates a new mCustomScrollbar with the specified or default options
*
* @param options Override default options
*/
mCustomScrollbar(options?: MCustomScrollbar.CustomScrollbarOptions): JQuery;
/**
* Calls specified methods on the scrollbar "update", "stop", "disable", "destroy"
*
@@ -149,4 +143,10 @@ interface JQuery {
* @param options Override default options
*/
mCustomScrollbar(scrollTo: string, parameter: any, options?: MCustomScrollbar.ScrollToParameterOptions): JQuery;
/**
* Creates a new mCustomScrollbar with the specified or default options
*
* @param options Override default options
*/
mCustomScrollbar(options?: MCustomScrollbar.CustomScrollbarOptions): JQuery;
}