Skip to content

Commit afbcf02

Browse files
authored
Remvove Promise polyfill mention from docs (#8736)
1 parent 02ca4e3 commit afbcf02

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

docs/_guides/async-code.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -206,23 +206,6 @@ db.get('charlie').then(function (charlie) {
206206
});
207207
```
208208

209-
{% include anchor.html title="Promises in PouchDB" hash="promises-in-pouchdb" %}
210-
211-
Promises are supported natively in [some browsers](http://caniuse.com/#feat=promises). But since they're not universally supported, PouchDB uses [lie](https://github.com/calvinmetcalf/lie) in browsers and Node.js when they are not supported.
212-
213-
You are free to integrate any Promise library you like with PouchDB, as long as it is compliant with [the Promises A+ spec](http://promisesaplus.com/). Some libraries that fit the bill:
214-
215-
<ul>
216-
<li><a href="https://github.com/petkaantonov/bluebird">bluebird</a></li>
217-
<li><a href="https://github.com/calvinmetcalf/lie">lie</a></li>
218-
<li><a href="https://github.com/kriskowal/q">Q</a></li>
219-
<li><a href="https://github.com/tildeio/rsvp.js">RSVP</a></li>
220-
<li><a href="https://github.com/then/promise">then/promise</a></li>
221-
<li><a href="https://github.com/cujojs/when">when</a></li>
222-
</ul>
223-
224-
If you use one of these libraries, then you will have access to some advanced Promise features. Read that library's documentation for details.
225-
226209
{% include anchor.html title="Next" hash="next" %}
227210

228211
Now that you have a grasp on promises, let's learn about updating and deleting documents.

0 commit comments

Comments
 (0)