From 2625222bb4adc940fe36f35c26f984173da0e5a4 Mon Sep 17 00:00:00 2001 From: Dick van den Brink Date: Wed, 15 Jan 2014 15:48:56 +0100 Subject: [PATCH] Fixed loading method Added empty loading method + return a JQuery object instead of void --- jquerymobile/jquerymobile.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jquerymobile/jquerymobile.d.ts b/jquerymobile/jquerymobile.d.ts index 44dc78e62..48c6459e1 100644 --- a/jquerymobile/jquerymobile.d.ts +++ b/jquerymobile/jquerymobile.d.ts @@ -329,7 +329,8 @@ interface JQueryMobile extends JQueryMobileOptions { changePage(to: any, options?: ChangePageOptions): void; initializePage(): void; loadPage(url: any, options?: LoadPageOptions): void; - loading(command: string, options?: LoaderOptions): void; + loading(): JQuery; + loading(command: string, options?: LoaderOptions): JQuery; pageContainer: any; base: any;