Skip to content

Commit b794fe7

Browse files
committed
more rdoc fixes
1 parent b34aebd commit b794fe7

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

‎README.rdoc‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,14 @@ Delete cookie by passing null as value:
3636
expires: 365
3737

3838
Define lifetime of the cookie. Value can be a +Number+ (which will be interpreted as days from creation) or a +Date+ object.
39-
If omitted, the cookie becomes a session cookie.
39+
If omitted, the cookie is a session cookie.
4040

41-
path: '/',
41+
path: '/'
4242

43-
Default: path of page where the cookie was created. Define the path where cookie is valid. *By default the path of the cookie is the path of the page where the cookie was created (standard browser behavior).*
44-
If you want to make it available for instance across the entire page use +path: '/'+.
43+
Define the path where cookie is valid. Default: path of page where the cookie was created.
44+
<strong>By default the path of the cookie is the path of the page where the cookie was created (standard browser behavior).</strong>
45+
46+
If you want to make it available for instance across the entire page use <code>path: '/'</code>.
4547

4648
If you want to delete a cookie with a particular path, you need to include that path in the call.
4749

@@ -56,7 +58,7 @@ Default: +false+. If true, the cookie transmission requires a secure protocol (h
5658
raw: true
5759

5860
Default: +false+. By default the cookie is encoded/decoded when creating/reading, using +encodeURIComponent+/+decodeURIComponent+.
59-
Turn off by setting +raw: true+.
61+
Turn off by setting <code>raw: true</code>.
6062

6163
== Changelog
6264

0 commit comments

Comments
 (0)