Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (14 sloc) 453 Bytes

1.3 (wip)

  • Configuration options: raw, json. Replaces raw option, becomes config:
$.cookie.raw = true; // bypass encoding/decoding the cookie value
$.cookie.json = true; // automatically JSON stringify/parse value

Thus the default options now cleanly contain cookie attributes only.

1.2

  • Adding $.removeCookie('foo') for deleting a cookie, using $.cookie('foo', null) is now deprecated.

1.1

  • Default options.