couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gar...@apache.org
Subject [1/2] fauxton commit: updated refs/heads/master to d94f3f2
Date Tue, 09 Aug 2016 12:09:52 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master 0e8ae5230 -> d94f3f202


react port: remove unused code


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

Branch: refs/heads/master
Commit: e18563361b8cd1fe5e41787e27602c9de3452e5d
Parents: 0e8ae52
Author: Robert Kowalski <robertkowalski@apache.org>
Authored: Tue Jul 26 14:16:44 2016 +0200
Committer: Garren Smith <garren.smith@gmail.com>
Committed: Tue Aug 9 14:07:37 2016 +0200

----------------------------------------------------------------------
 app/addons/fauxton/components.js | 30 ------------------------------
 1 file changed, 30 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/e1856336/app/addons/fauxton/components.js
----------------------------------------------------------------------
diff --git a/app/addons/fauxton/components.js b/app/addons/fauxton/components.js
index 97db63a..124b679 100644
--- a/app/addons/fauxton/components.js
+++ b/app/addons/fauxton/components.js
@@ -382,36 +382,6 @@ Components.DbSearchTypeahead = Components.Typeahead.extend({
   }
 });
 
-Components.DocSearchTypeahead = Components.Typeahead.extend({
-  initialize: function (options) {
-    this.docLimit = options.docLimit || 30;
-    this.database = options.database;
-    _.bindAll(this);
-  },
-  source: function (id, process) {
-    var query = '?' + $.param({
-      startkey: JSON.stringify(id),
-      endkey: JSON.stringify(id + "\u9999"),
-      limit: this.docLimit
-    });
-
-    var url = FauxtonAPI.urls('allDocs', 'server', this.database.safeID(), query);
-
-    if (this.ajaxReq) { this.ajaxReq.abort(); }
-
-    this.ajaxReq = $.ajax({
-      cache: false,
-      url: url,
-      dataType: 'json',
-      success: function (data) {
-        var ids = _.map(data.rows, function (row) {
-          return row.id;
-        });
-        process(ids);
-      }
-    });
-  }
-});
 
 Components.LookaheadTray = FauxtonAPI.View.extend({
   className: "lookahead-tray tray",


Mime
View raw message