Removing debugging code
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/3cd4bc5a Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/3cd4bc5a Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/3cd4bc5a Branch: refs/heads/api-options Commit: 3cd4bc5a0dbfad7ddfe1dc59c7757fdc32cb03bd Parents: a749ecb Author: suelockwood <[email protected]> Authored: Fri Jan 10 09:56:45 2014 -0500 Committer: suelockwood <[email protected]> Committed: Fri Jan 10 09:57:09 2014 -0500 ---------------------------------------------------------------------- src/fauxton/app/modules/documents/views.js | 15 --------------- 1 file changed, 15 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/3cd4bc5a/src/fauxton/app/modules/documents/views.js ---------------------------------------------------------------------- diff --git a/src/fauxton/app/modules/documents/views.js b/src/fauxton/app/modules/documents/views.js index ec1b5d2..78cbbb8 100644 --- a/src/fauxton/app/modules/documents/views.js +++ b/src/fauxton/app/modules/documents/views.js @@ -1767,26 +1767,11 @@ function(app, FauxtonAPI, Components, Documents, Databases, pouchdb, resizeColum }, this); }, - addNewSidebarItem: function(key, selector, design){ - console.log(args, "sidebarupdate"); - // var selected = this.ddocID == "_design/"+design; - // var view = this.insertView("ul.nav.views", new Views.IndexItem({ - // ddoc: design, - // index: key, - // database: this.collection.database.id, - // selected: selected && key == this.currView - // })); - // if (render !== false) { - // view.render(); - // } - }, afterRender: function () { if (this.selectedTab) { this.setSelectedTab(this.selectedTab); } - - this.listenTo(this.collection, "add", this.addNewSidebarItem); }, setSelectedTab: function (selectedTab) {
