Skip to content

Commit 9264f2a

Browse files
Remove "raw" option from docs
1 parent ec19317 commit 9264f2a

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

‎README.md‎

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,6 @@ Cookies.remove('name', { path: '/' }); // => true
7474

7575
## Configuration
7676

77-
### raw
78-
79-
By default the cookie value is encoded/decoded when writing/reading, using `encodeURIComponent`/`decodeURIComponent`. Bypass this by setting raw to true:
80-
81-
```javascript
82-
Cookies.raw = true;
83-
```
84-
8577
### json
8678

8779
Turn on automatic storage of JSON objects passed as the cookie value. Assumes `JSON.stringify` and `JSON.parse`:
@@ -141,7 +133,6 @@ Cookies.get('foo', Number); // => 42
141133
Dealing with cookies that have been encoded using `escape` (3rd party cookies):
142134

143135
```javascript
144-
Cookies.raw = true;
145136
Cookies.get('foo', unescape);
146137
```
147138

0 commit comments

Comments
 (0)