Skip to content
This repository was archived by the owner on Nov 15, 2017. It is now read-only.

Added 'enabled' function#348

Closed
someshinyobject wants to merge 1 commit intocarhartl:masterfrom
someshinyobject:master
Closed

Added 'enabled' function#348
someshinyobject wants to merge 1 commit intocarhartl:masterfrom
someshinyobject:master

Conversation

@someshinyobject
Copy link

This will allow users of the library to quickly check if cookies are enabled on the client without having to maintain an external function to do it for them.

$.cookie.enabled //returns a boolean to check

A boolean value check was also added to the unit tests

…nabled on the client prior to using the cookie functions
@someshinyobject
Copy link
Author

Travis CI build failed due to a failure in loading saucelabs

@carhartl
Copy link
Owner

Thanks for the PR. navigator.cookieEnabled isn't implemented cross-browser though, thus not going to merge.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants