Skip to content

Commit

Permalink
Merge pull request #159 from michielbdejong/fix-section-label
Browse files Browse the repository at this point in the history
Section label resolving-conflicts -> resolving-conflicts-manually
  • Loading branch information
Natim committed Sep 16, 2015
2 parents 6ad02a6 + 9513a1a commit 61ad959
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ Synopsis:

1. Fetch remote changes since last synchronization;
2. Fail on any conflict encountered;
- The developer has to handle them manually using [`#resolve()`](#resolving-conflicts), and call `#sync()` again when done;
- The developer has to handle them manually using [`#resolve()`](#resolving-conflicts-manually), and call `#sync()` again when done;
3. If everything went fine, publish local changes;
- Fail on any publication conflict detected;
* If `strategy` is set to `Kinto.syncStrategy.SERVER_WINS`, no client data will overwrite the remote data;
Expand Down Expand Up @@ -272,7 +272,7 @@ For publication conflicts, the `sync()` method accepts a `strategy` option, whic

> Note:
> `strategy` only applies to *outgoing* conflicts. *Incoming* conflicts will still
> be reported in the `conflicts` array. See [`resolving conflicts section`](#resolving-conflicts).
> be reported in the `conflicts` array. See [`resolving conflicts section`](#resolving-conflicts-manually).
You can override default options by passing `#sync()` a new `options` object; Kinto will merge these new values with the default ones:

Expand Down

0 comments on commit 61ad959

Please sign in to comment.