diff --git a/jquerymobile/jquerymobile-tests.ts b/jquerymobile/jquerymobile-tests.ts index 75c9614473..bedec85bb5 100644 --- a/jquerymobile/jquerymobile-tests.ts +++ b/jquerymobile/jquerymobile-tests.ts @@ -251,4 +251,8 @@ function test_listview() { $.mobile.listview.prototype.options.theme = "a"; $('#mylist').listview(); $('#mylist').listview('refresh'); +} + +function test_misc() { + $.mobile.initializePage(); } \ No newline at end of file diff --git a/jquerymobile/jquerymobile.d.ts b/jquerymobile/jquerymobile.d.ts index 4f8c68ccb3..4be7faa9e4 100644 --- a/jquerymobile/jquerymobile.d.ts +++ b/jquerymobile/jquerymobile.d.ts @@ -277,11 +277,12 @@ interface LoadPageOptions { interface JQueryMobile extends JQueryMobileOptions { changePage(to: any, options?: ChangePageOptions): void; + initializePage(): void; loadPage(url: any, options?: LoadPageOptions): void; - loading(command: string, options?): void; - + loading(command: string, options? ): void; + base; - silentScroll(yPos: number):void; + silentScroll(yPos: number): void; activePage; options: JQueryMobileOptions;