Commit Graph

12 Commits

Author SHA1 Message Date
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
Ben
d2bf7eed77 Updated to test new defaults property 2015-09-06 14:33:02 -04:00
Ben
90e1dab8cd Updated for version 1.4.1, jsdoc documentaiton
Updated jquery.cookie.d.ts to conform to the latest version of jquery.cookie (1.4.1). This meant adding a defaults property to the JQueryCookieStatic interface.  Also added missing jsdoc documentation for better intellisense for editors that support it. The documentation uses the Github repo documentation where possible.
2015-09-06 14:29:02 -04:00
NN
8e08af724f Support converter option
My bad, the pull request https://github.com/borisyankov/DefinitelyTyped/pull/3449 was not correct.
When the converter is specified it is used for converting the cookie value.
2015-01-13 12:48:13 +02:00
NN
efd78f5100 Support converter option
jquery.cookie supports converter function in the second argument:

https://github.com/carhartl/jquery-cookie

Example for parsing a value into a number:

$.cookie('foo', '42');
$.cookie('foo', Number); // => 42
2015-01-12 17:26:40 +02:00
yutavsky
f187d0d92b $.cookie() support 2013-09-19 23:21:43 +09:00
Theodore Brown
8439d657c1 bool -> boolean in jquery.cookie 2013-07-21 11:23:38 -05:00
Boris Yankov
209d95071a Update reference paths 2013-01-17 20:03:30 +02:00
Natan Vivo
c7d2934d6d Update project references to use jQuery 1.9 instead of missing 1.8 file. 2013-01-17 12:05:06 -02:00
BreeeZe
f0fef408cf The expires option can be either a number or a Date object. (https://github.com/carhartl/jquery-cookie#expires)
Since there is no option to define both for a property it should be defined as any.
2012-11-27 22:12:28 +01:00
Roy Goode
9093cd686a Added jQuery.Cookie definitions and tests 2012-11-27 20:50:33 +00:00