-
-
Notifications
You must be signed in to change notification settings - Fork 8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[js] For consistency with getCookie(s), addCookie now expects the exp…
…iry to be specified in seconds since epoch, not milliseconds. Also taking this opportunity to change addCookie to take the cookie spec as an object literal instead of a bazillion parameters (which is awkward when only the name, value, and expiry were provided). addCookie will throw a TypeError if it detects an invalid spec object. Fixes #2245
- Loading branch information
Showing
3 changed files
with
147 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Typo fixed in 9ed5b19