mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Add definition and test for $.support.pjax property.
This commit is contained in:
@@ -54,3 +54,7 @@ function test_defauluts() {
|
||||
version: $.noop
|
||||
};
|
||||
}
|
||||
|
||||
function test_support() {
|
||||
console.log($.support.pjax);
|
||||
}
|
||||
|
||||
Vendored
+7
@@ -131,3 +131,10 @@ interface PjaxStatic {
|
||||
*/
|
||||
reload(): JQueryXHR;
|
||||
}
|
||||
|
||||
interface JQuerySupport {
|
||||
/**
|
||||
* A boolean value indicates if pjax is supported by the browser.
|
||||
*/
|
||||
pjax: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user