diff --git a/README.md b/README.md index 9b7e71e..94c7c64 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ -#Simple Cookie +# Simple Cookie [![Powered by Dockwa](https://raw.githubusercontent.com/dockwa/openpixel/dockwa/by-dockwa.png)](https://engineering.dockwa.com/) This is a very simple, super lightweight javascript cookie class to be used however you like. It has 4 simple methods... -###Set Cookie +### Set Cookie ```javascript Cookie.set('name', 'value') ``` @@ -20,21 +20,21 @@ The path can also be optionally set as follows. Cookie.set('name', 'value', 60*24*365, document.location) ``` -###Get Cookie +### Get Cookie ```javascript Cookie.get('name') ``` Returns the value of the cookie if it exits, 'undefined' if it does not exists. -###Remove Cookie +### Remove Cookie ```javascript Cookie.remove('name') ``` Removes the cookie with that name if it is set. -###Exists Cookie +### Exists Cookie ```javascript Cookie.exists('name') ``` @@ -42,4 +42,4 @@ Cookie.exists('name') Returns a TRUE or FALSE value is the cookie is currently set on the client. --- -And it's as simple at that! :) Enjoy \ No newline at end of file +And it's as simple at that! :) Enjoy