forked from js-cookie/js-cookie
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Collecting all cookies in a jar, and when looking for a specific one breaking out of the loop. By this we're also sharing one variable less (`result`) for both the write and read functionality, which will make it easier to modularize the library in the future.
- Loading branch information
Showing
1 changed file
with
5 additions
and
12 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