couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject fauxton commit: updated refs/heads/master to c1fa250
Date Mon, 27 Jun 2016 06:59:47 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master c74ea9cc4 -> c1fa250dd


Breadcrumbs React port: remove unused function

`getPreviousPage` is not used


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

Branch: refs/heads/master
Commit: c1fa250dd07896cff021dd5f2b035f1c9b2961bd
Parents: c74ea9c
Author: Robert Kowalski <rok@kowalski.gd>
Authored: Tue Jun 21 14:20:55 2016 +0200
Committer: Robert Kowalski <rok@kowalski.gd>
Committed: Tue Jun 21 14:22:08 2016 +0200

----------------------------------------------------------------------
 app/addons/documents/helpers.js | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/c1fa250d/app/addons/documents/helpers.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/helpers.js b/app/addons/documents/helpers.js
index e3862f8..f477101 100644
--- a/app/addons/documents/helpers.js
+++ b/app/addons/documents/helpers.js
@@ -31,10 +31,6 @@ function getPreviousPageForDoc (database, wasCloned) {
   return previousPage;
 }
 
-function getPreviousPage (database) {
-  return database.url('index');
-}
-
 // sequence info is an array in couchdb2 with two indexes. On couch 1.x, it's just a string
/ number
 function getSeqNum (val) {
   return _.isArray(val) ? val[1] : val;
@@ -113,7 +109,6 @@ function truncateDoc (docString, maxRows) {
 
 export default {
   getPreviousPageForDoc: getPreviousPageForDoc,
-  getPreviousPage: getPreviousPage,
   getSeqNum: getSeqNum,
   getNewButtonLinks: getNewButtonLinks,
   getModifyDatabaseLinks: getModifyDatabaseLinks,


Mime
View raw message