Skip to content

Commit c469b04

Browse files
authored
spelling: dont -> don't (#8829)
1 parent dabd30a commit c469b04

File tree

11 files changed

+17
-17
lines changed

11 files changed

+17
-17
lines changed

bin/build-site.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ function buildCSS() {
3030
}
3131

3232
function buildJekyll(path) {
33-
// Dont rebuild on website artifacts being written
33+
// Don't rebuild on website artifacts being written
3434
if (path && /^_site/.test(path.relative)) {
3535
return;
3636
}

docs/_posts/2014-04-01-pouchdb-2.1.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ This release contains a database migration, which means that once you upgrade yo
2626
* Improve error reporting from replicator ([#1714](http://github.com/daleharvey/pouchdb/issues/1714))
2727
* Switch to readAsArrayBuffer for IE binary support ([#1667](http://github.com/daleharvey/pouchdb/issues/1667))
2828
* Add `npm run shell` for quick shell experimenting ([#1610](http://github.com/daleharvey/pouchdb/issues/1610))
29-
* Ensure we dont lose data when browsers upgrade from WebSQL to IDB ([#1289](http://github.com/daleharvey/pouchdb/issues/1289))
29+
* Ensure we don't lose data when browsers upgrade from WebSQL to IDB ([#1289](http://github.com/daleharvey/pouchdb/issues/1289))
3030

3131
###### [Complete list of changes](https://github.com/daleharvey/pouchdb/compare/2.0.1...2.1.0)

docs/_posts/2015-08-03-pouchdb-4.0.0-ballast-overboard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ replication.on('paused', doneFun);
7272
* Fix attachment length for stubs ([#3963](https://github.com/pouchdb/pouchdb/issues/3963))
7373
* Reduce the number of checkpoint mismatches ([#4009](https://github.com/pouchdb/pouchdb/issues/4009))
7474
* Fallback from checkpoint mismatch correctly (less replication start from the beginning) ([#3999](https://github.com/pouchdb/pouchdb/issues/3999))
75-
* Dont fail replication when attachment request fails ([#4021](https://github.com/pouchdb/pouchdb/issues/4021))
75+
* Don't fail replication when attachment request fails ([#4021](https://github.com/pouchdb/pouchdb/issues/4021))
7676
* Fix check for `localStorage` in Safari private mode ([#4070](https://github.com/pouchdb/pouchdb/issues/4070))
7777
7878
### Coverage improvements

docs/_posts/2015-11-03-cover-all.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ We have had issues in the past with how to manage npm dependencies. Version rang
2424
### Bugfixes
2525

2626
* Explain http error caused by checking for `_bulk_get` ([#4435](http://github.com/pouchdb/pouchdb/issues/4435))
27-
* Dont create a database just to delete it ([#4467](http://github.com/pouchdb/pouchdb/issues/4467))
27+
* Don't create a database just to delete it ([#4467](http://github.com/pouchdb/pouchdb/issues/4467))
2828
* Add friendly err msg to common leveldown err ([#4447](http://github.com/pouchdb/pouchdb/issues/4447))
2929
* Avoid empty bulkGet() ([#4474](http://github.com/pouchdb/pouchdb/issues/4474))
3030
* Fix http url with port 80 ([#247](https://github.com/pouchdb/express-pouchdb/issues/247))

docs/_posts/2016-06-06-pouchdb-5.4.0.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ This API was not removed, but will log a warning if you try to use it.
9292
* ([#3923](https://github.com/pouchdb/pouchdb/issues/3923)) - Add ability to set url as prefix
9393
* ([#4922](https://github.com/pouchdb/pouchdb/issues/4922)) - Do not call 'destroyed' twice for http instances
9494
* ([#3609](https://github.com/pouchdb/pouchdb/issues/3609)) - opts.view implies filter=_view
95-
* ([#4444](https://github.com/pouchdb/pouchdb/issues/4444)) - Dont leak event emitters
95+
* ([#4444](https://github.com/pouchdb/pouchdb/issues/4444)) - Don't leak event emitters
9696
* ([#5197](https://github.com/pouchdb/pouchdb/issues/5197)) - detect WebSQL invalid on WKWebView
9797
* ([#5200](https://github.com/pouchdb/pouchdb/issues/5200)) - Don't clone special objects like Workers
9898
* ([#5196](https://github.com/pouchdb/pouchdb/issues/5196)) - fix excessively long replication loop
@@ -123,7 +123,7 @@ This API was not removed, but will log a warning if you try to use it.
123123

124124
* ([#4575](https://github.com/pouchdb/pouchdb/issues/4575)) - Fix tests against CouchDB master
125125
* ([#5260](https://github.com/pouchdb/pouchdb/issues/5260)) - Catches unhandled rejections in tests
126-
* ([#2426](https://github.com/pouchdb/pouchdb/issues/2426)) - Add test to ensure doc_ids dont prevent replication
126+
* ([#2426](https://github.com/pouchdb/pouchdb/issues/2426)) - Add test to ensure doc_ids don't prevent replication
127127
* ([#4767](https://github.com/pouchdb/pouchdb/issues/4767)) - 100% code coverage
128128
* ([#5186](https://github.com/pouchdb/pouchdb/issues/5186)) - build in Node 5, test in other Nodes
129129

docs/_posts/2018-01-23-pouchdb-6.4.2.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Currently it looks likely that we will remove our [Promise Polyfill](https://git
5252

5353
## Other Changes
5454

55-
- [#7019](https://github.com/pouchdb/pouchdb/issues/7019) - Dont crash on empty HTTP requests
55+
- [#7019](https://github.com/pouchdb/pouchdb/issues/7019) - Don't crash on empty HTTP requests
5656
- [#7008](https://github.com/pouchdb/pouchdb/issues/7008) - Add Glitch bug helper
5757
- [#6954](https://github.com/pouchdb/pouchdb/issues/6954) - Fix hang when storage quota is exceeded
5858
- [#6958](https://github.com/pouchdb/pouchdb/issues/6958) - Fix PouchDB find with zero values

docs/getting-started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ PouchDB is now installed in your app and ready to use! (In production, you shoul
5353
The rest of the work will be done inside `app.js`. We will start by creating a database to enter your todos. To create a database simply instantiate a new PouchDB object with the name of the database:
5454

5555
{% highlight js %}
56-
// EDITING STARTS HERE (you dont need to edit anything above this line)
56+
// EDITING STARTS HERE (you don't need to edit anything above this line)
5757

5858
var db = new PouchDB('todos');
5959
var remoteCouch = false;
@@ -100,7 +100,7 @@ Once you have included this code, you should be able to refresh the page to see
100100

101101
{% include anchor.html class="h3" title="Update the UI" hash="update_the_ui" %}
102102

103-
We dont want to refresh the page to see new items. More typically you would update the UI manually when you write data to it, however, in PouchDB you may be syncing data remotely, so you want to make sure you update whenever the remote data changes. To do this we will call `db.changes` which subscribes to updates to the database, wherever they come from. You can enter this code between the `remoteCouch` and `addTodo` declaration:
103+
We don't want to refresh the page to see new items. More typically you would update the UI manually when you write data to it, however, in PouchDB you may be syncing data remotely, so you want to make sure you update whenever the remote data changes. To do this we will call `db.changes` which subscribes to updates to the database, wherever they come from. You can enter this code between the `remoteCouch` and `addTodo` declaration:
104104

105105
{% highlight js %}
106106
var remoteCouch = false;
@@ -127,7 +127,7 @@ function checkboxChanged(todo, event) {
127127
}
128128
{% endhighlight %}
129129

130-
This is similar to creating a document, however the document must also contain a `_rev` field (in addition to `_id`), otherwise the write will be rejected. This ensures that you dont accidently overwrite changes to a document.
130+
This is similar to creating a document, however the document must also contain a `_rev` field (in addition to `_id`), otherwise the write will be rejected. This ensures that you don't accidently overwrite changes to a document.
131131

132132
You can test that this works by checking a todo item and refreshing the page. It should stay checked.
133133

@@ -189,7 +189,7 @@ You can check that CORS is now enabled by visiting [http://localhost:5984/_utils
189189
Now we will have the todo list sync. Back in `app.js` we need to specify the address of the remote database. Remember to replace `user`, `pass` and `myname.example.com` with the credentials of your own CouchDB instance:
190190

191191
{% highlight js %}
192-
// EDITING STARTS HERE (you dont need to edit anything above this line)
192+
// EDITING STARTS HERE (you don't need to edit anything above this line)
193193

194194
var db = new PouchDB('todos');
195195
var remoteCouch = 'http://user:pass@myname.example.com/todos';

packages/node_modules/pouchdb-adapter-indexeddb/src/allDocs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default function (txn, metadata, opts, callback) {
7777
return callback(txn.error);
7878
}
7979

80-
// TODO: Weird hack, I dont like it
80+
// TODO: Weird hack, I don't like it
8181
if (opts.limit === 0) {
8282
var returnVal = {
8383
total_rows: metadata.doc_count,

packages/node_modules/pouchdb-core/src/adapter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ class AbstractPouchDB extends EventEmitter {
674674
});
675675
}).bind(this);
676676

677-
// TODO: I dont like this, it forces an extra read for every
677+
// TODO: I don't like this, it forces an extra read for every
678678
// attachment read and enforces a confusing api between
679679
// adapter.js and the adapter implementation
680680
this.getAttachment = adapterFun('getAttachment', function (docId, attachmentId, opts, callback) {

packages/node_modules/pouchdb-merge/src/merge.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ function doMerge(tree, path, dontExpand) {
124124
// The paths start at a different position, take the earliest path and
125125
// traverse up until it as at the same point from root as the path we
126126
// want to merge. If the keys match we return the longer path with the
127-
// other merged After stemming we dont want to expand the trees
127+
// other merged After stemming we don't want to expand the trees
128128

129129
var t1 = branch.pos < path.pos ? branch : path;
130130
var t2 = branch.pos < path.pos ? path : branch;
@@ -182,7 +182,7 @@ function doMerge(tree, path, dontExpand) {
182182
};
183183
}
184184

185-
// To ensure we dont grow the revision tree infinitely, we stem old revisions
185+
// To ensure we don't grow the revision tree infinitely, we stem old revisions
186186
function stem(tree, depth) {
187187
// First we break out the tree into a complete list of root to leaf paths
188188
var paths = rootToLeaf(tree);
@@ -217,7 +217,7 @@ function stem(tree, depth) {
217217
};
218218
}
219219

220-
// Then we remerge all those flat trees together, ensuring that we dont
220+
// Then we remerge all those flat trees together, ensuring that we don't
221221
// connect trees that would go beyond the depth limit
222222
if (result) {
223223
result = doMerge(result, node, true).tree;

0 commit comments

Comments
 (0)