mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
docs: document modernization initiative more clearly (#17376)
* docs: document modernization initiative more clearly
This commit is contained in:
@@ -99,7 +99,7 @@ the response.
|
||||
Sends a request to get all cookies matching `filter`, `callback` will be called
|
||||
with `callback(error, cookies)` on complete.
|
||||
|
||||
**[Deprecated Soon](promisification.md)**
|
||||
**[Deprecated Soon](modernization/promisification.md)**
|
||||
|
||||
#### `cookies.set(details)`
|
||||
|
||||
@@ -142,7 +142,7 @@ Sets a cookie with `details`.
|
||||
Sets a cookie with `details`, `callback` will be called with `callback(error)`
|
||||
on complete.
|
||||
|
||||
**[Deprecated Soon](promisification.md)**
|
||||
**[Deprecated Soon](modernization/promisification.md)**
|
||||
|
||||
#### `cookies.remove(url, name)`
|
||||
|
||||
@@ -162,7 +162,7 @@ Removes the cookies matching `url` and `name`
|
||||
Removes the cookies matching `url` and `name`, `callback` will called with
|
||||
`callback()` on complete.
|
||||
|
||||
**[Deprecated Soon](promisification.md)**
|
||||
**[Deprecated Soon](modernization/promisification.md)**
|
||||
|
||||
#### `cookies.flushStore()`
|
||||
|
||||
@@ -176,4 +176,4 @@ Writes any unwritten cookies data to disk.
|
||||
|
||||
Writes any unwritten cookies data to disk.
|
||||
|
||||
**[Deprecated Soon](promisification.md)**
|
||||
**[Deprecated Soon](modernization/promisification.md)**
|
||||
|
||||
Reference in New Issue
Block a user