couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject [2/2] fauxton commit: updated refs/heads/master to 5f07e86
Date Thu, 04 Feb 2016 11:35:31 GMT
fix warning

reason is another race condition between the store's init and the
FauxtonAPI.url helper

PR: #639
PR-URL: https://github.com/apache/couchdb-fauxton/pull/639
Reviewed-By: Benjamin Keen <ben.keen@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/f2b0fc0d
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/f2b0fc0d
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/f2b0fc0d

Branch: refs/heads/master
Commit: f2b0fc0dc95d4ecc95009d9341e18fa4a83bf79a
Parents: 478a3b3
Author: Robert Kowalski <robertkowalski@apache.org>
Authored: Wed Feb 3 11:59:42 2016 +0000
Committer: Robert Kowalski <robertkowalski@apache.org>
Committed: Thu Feb 4 11:35:07 2016 +0000

----------------------------------------------------------------------
 app/addons/documents/index-results/stores.js | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/f2b0fc0d/app/addons/documents/index-results/stores.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/index-results/stores.js b/app/addons/documents/index-results/stores.js
index 13918dd..b1bd3dc 100644
--- a/app/addons/documents/index-results/stores.js
+++ b/app/addons/documents/index-results/stores.js
@@ -38,10 +38,8 @@ function (app, FauxtonAPI, ActionTypes, HeaderActionTypes, PaginationActionTypes
     },
 
     reset: function () {
-      this._collection = new Resources.AllDocs([], {
-        database: {
-          safeID: function () { return ''; }
-        }, params: {limit: 5}
+      this._collection = new Backbone.Collection.extend({
+        url: ''
       });
 
       this._filteredCollection = [];


Mime
View raw message