Skip to content

amccollum/jar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jar

Simple cookie handling:

cookieValue = jar.cookie('chocolateChip');
jar.cookie('chocolateChip', 'new cookie value');

It's also easy to set cookie options:

jar.cookie('topSecret', 'this cookie will self-destruct in 5 days', { expires: 5*60*60*24 });

Usage with Ender

After you install Ender, include jar in your package:

ender add jar

This will namespace the package under the $ variable:

$.cookie(...);

About

Basic cookie handling

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published