Doron Grinzaig
4666d386d6
Add event to submitHandler signatute
2016-11-07 12:56:19 +02:00
Mohamed Hegazy
04a17a5482
Merge pull request #8686 from lqbweb/master
...
missing elementValue(Element) method, meant to return the value from the Element
2016-06-26 15:48:47 -07:00
kodeo
0a27eaa06f
Add addMethod overload in support of message as a function
2016-05-10 11:37:53 +01:00
Rubén Pérez
dd12757cc7
missing elementValue(Element) method, meant to return the value in which
...
to apply the constraints out of the Element
2016-03-22 19:21:22 +01:00
vvakame
7de6c3dd94
Merge branch 'master' into rename-repo-url
2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4
replace internal module to namespace
2016-03-17 02:18:10 +09:00
vvakame
56295f5058
replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped
2016-03-17 00:55:26 +09:00
vvakame
4de74cb527
normalize line ending (CRLF -> LF)
2016-02-16 01:20:30 +09:00
Nathan Pitman
9319bd0b03
Update jquery.validation bindings and tests. Changes include:
...
* Relaxed $.validator.format so that the arguments don't have to be strings. Added overloads, so that if called with just a template and no arguments, it returns a curried function, as per http://jqueryvalidation.org/category/validator/ . $.format might need changing (?) but I haven't touched it as it's deprecated anyway. Added tests.
* Place everything inside a JQueryValidation module to avoid cluttering the global namespace
* Split Validator into Validator and ValidatorStatic interfaces for correctness. Subdivide tests accordingly.
* Change rules to be typed as a RulesDictionary rather than an Object.
* Change ValidationOptions.groups to be { [groupName: string]: string } rather than Object.
* Change ValidationOptions.onclick, onfocusout and onkeyup from bool | Function to ShouldValidatePredicate, an alias for boolean | ((element: HTMLElement, event: JQueryEventObject) => void). Added more tests
2015-07-02 23:03:43 +12:00
Grégoire Castre
fa765633b5
Add missing methods and properties
2015-03-18 14:26:13 +01:00
Louis-Philippe Perras
d34679d362
Allowed JQuery object to the element Validator.
2015-02-04 18:08:11 -05:00
johnnyreilly
e89af75d2c
jQuery.Validation is union typed
2015-01-18 07:14:04 +00:00
Maks3w
e07da8a6fa
[jquery.validation][1.11.1] invalidElements and validElements methods
2014-11-09 12:09:26 +01:00
Bart van der Schoor
1d345f6c14
cleaned-up headers
2014-06-18 23:31:11 +02:00
Martin D.
3f402aa458
Project URL updated
2014-06-06 13:20:28 -04:00
John Reilly
e984ccc6e3
jQuery-validate: interface JSDoc
2014-03-21 08:59:20 +00:00
John Reilly
c765fad27f
jQuery-validate: fix up
2014-03-21 08:50:24 +00:00
John Reilly
6a22fbb286
jQuery-validate
2014-03-20 17:17:16 +00:00
John Reilly
21092d44c8
Merge pull request #1884 from johnnyreilly/master
...
jQuery.validation:started JSDoc for jQuery val
2014-03-20 14:19:11 +00:00
John Reilly
1485111fcf
jQuery.validation:started JSDoc for jQuery val
2014-03-20 14:10:17 +00:00
Louis-Philippe Perras
90779813c5
Changed the any[] to be any
...
http://jqueryvalidation.org/jQuery.validator.addMethod#jQuery-validator-addMethod-name-method-message
2014-02-24 16:39:27 -05:00
Louis-Philippe Perras
7fa3c07750
addMethod params arguments vs array syntax
...
jQUery Validation does not send arguments but an array of the argument already built. By using the ... syntax of TypeScript, we get an array with one item that has the array sent by jQuery validation. I think the definition should use an array instead of arguments syntax.
2014-02-24 10:06:55 -05:00
John Reilly
da1982687c
jQuery.validation: Gave definition to errorMap
2014-01-02 15:49:20 +00:00
John Reilly
6e0a06f02f
Tightened up ValidationOptions
...
Using a combination of the source code and the documentation at
http://jqueryvalidation.org/validate/ I've tightened up the
ValidationOptions. NB success remains as any because (AFAIK) it's not
possible to model alternate overloads in an interface with TypeScript (
https://typescript.codeplex.com/workitem/1893 ).
2013-11-15 11:57:53 +00:00
John Reilly
6b8d398be9
Added errorList / errorMap properties and valid / size / hideErrors functions with associated tests
2013-10-10 17:02:39 +01:00
Stijn Herreman
4a18b68ad5
Add 'settings' property to expose the ValidationOptions.
2013-09-27 12:02:52 +02:00
Stijn Herreman
ba2f43d980
Up the version number.
2013-09-27 11:21:46 +02:00
Stijn Herreman
861a5b2a4d
Sort interface members, so it's easier to find one.
2013-09-27 11:17:58 +02:00
Boris Yankov
dd35f69637
Big replacement: bool with boolean
2013-08-07 16:59:39 +03:00
Boris Yankov
209d95071a
Update reference paths
2013-01-17 20:03:30 +02:00
Boris Yankov
c98eebb137
Rename all definition files, remove versions
2013-01-17 17:17:27 +02:00