Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop the Boolean return value of the "remove" method #21

Merged
merged 2 commits into from Apr 22, 2015

Conversation

FagnerMartinsBrack
Copy link
Member

Now the "remove" method acts as void. If you need to check whether the cookie was removed or not, you can try to read it again:

Cookies.remove('name');
if (!Cookies.get('name')) {
  // it was removed
}

Decided on #5 (comment)

@FagnerMartinsBrack FagnerMartinsBrack mentioned this pull request Apr 20, 2015
13 tasks
@FagnerMartinsBrack FagnerMartinsBrack added this to the 2.0 milestone Apr 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant