Skip to content

Commit 575a419

Browse files
committed
better wording, that should do it
1 parent b794fe7 commit 575a419

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

‎README.rdoc‎

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -35,17 +35,13 @@ Delete cookie by passing null as value:
3535

3636
expires: 365
3737

38-
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 is a session cookie.
38+
Define lifetime of the cookie. Value can be a +Number+ (which will be interpreted as days from time of creation) or a +Date+ object. If omitted, the cookie is a session cookie.
4039

4140
path: '/'
4241

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>
42+
Default: path of page where the cookie was created.
4543

46-
If you want to make it available for instance across the entire page use <code>path: '/'</code>.
47-
48-
If you want to delete a cookie with a particular path, you need to include that path in the call.
44+
Define the path where cookie is valid. <b>By default the path of the cookie is the path of the page where the cookie was created (standard browser behavior).</b> If you want to make it available for instance across the entire page use <code>path: '/'</code>. If you want to delete a cookie with a particular path, you need to include that path in the call.
4945

5046
domain: 'example.com'
5147

@@ -57,8 +53,9 @@ Default: +false+. If true, the cookie transmission requires a secure protocol (h
5753

5854
raw: true
5955

60-
Default: +false+. By default the cookie is encoded/decoded when creating/reading, using +encodeURIComponent+/+decodeURIComponent+.
61-
Turn off by setting <code>raw: true</code>.
56+
Default: +false+.
57+
58+
By default the cookie is encoded/decoded when creating/reading, using +encodeURIComponent+/+decodeURIComponent+. Turn off by setting <code>raw: true</code>.
6259

6360
== Changelog
6461

0 commit comments

Comments
 (0)