From 207ee81062369be6ef70182c8a3b4e660f3e0551 Mon Sep 17 00:00:00 2001 From: Anielkis Herrera Date: Wed, 28 Sep 2016 13:22:31 -0500 Subject: [PATCH] Changing src to source, bug by coincidence with html param --- app-pouchdb-sync.html | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app-pouchdb-sync.html b/app-pouchdb-sync.html index 53e405a..fda35f6 100644 --- a/app-pouchdb-sync.html +++ b/app-pouchdb-sync.html @@ -20,7 +20,7 @@ ```html @@ -39,22 +39,22 @@ properties: { /** * The source to sync from. If this sync is `bidirectional`, then the - * `src` and `target` values are interchangeable. + * `source` and `target` values are interchangeable. */ - src: { + source: { type: String }, /** * The `target` to sync to. If this sync is `bidirectional`, then the - * `src` and `target` values are interchangeable. + * `source` and `target` values are interchangeable. */ target: { type: String }, /** - * While `false`, synchronization will only happen from the `src` to the + * While `false`, synchronization will only happen from the `source` to the * `target`. One-directional synchronization follows the semantics of * `PouchDB.replicate`. Set to `true` to make the sync bidirectional, * which uses `PouchDB.sync` instead. @@ -70,7 +70,7 @@ */ sync: { type: Object, - computed: '__computeSync(src, target, bidirectional)', + computed: '__computeSync(source, target, bidirectional)', observer: '__syncChanged' }, @@ -84,14 +84,14 @@ } }, - __computeSync: function(src, target, bidirectional) { + __computeSync: function(source, target, bidirectional) { var options = { live: true, retry: true } return bidirectional ? - PouchDB.sync(src, target, options) : - PouchDB.replicate(src, target, options); + PouchDB.sync(source, target, options) : + PouchDB.replicate(source, target, options); }, __syncChanged: function(sync, oldSync) {