mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-03 08:40:12 +00:00
Initial jquery.validation & tests
This commit is contained in:
10
Definitions/jquery.validation-1.10.d.ts
vendored
Normal file
10
Definitions/jquery.validation-1.10.d.ts
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
// Type definitions for jquery.validation 1.10
|
||||
// Project: http://bassistance.de/jquery-plugins/jquery-plugin-validation/
|
||||
// Definitions by: https://github.com/fdecampredon
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="jquery-1.8.d.ts"/>
|
||||
|
||||
interface JQueryStatic {
|
||||
validate();
|
||||
}
|
||||
3
Tests/jquery.validation-tests.ts
Normal file
3
Tests/jquery.validation-tests.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
/// <reference path="../Definitions/jquery.validation-1.10.d.ts" />
|
||||
|
||||
$("#commentForm").validate();
|
||||
Reference in New Issue
Block a user