clean up for view function
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/d2ffad3d Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/d2ffad3d Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/d2ffad3d Branch: refs/heads/route-events Commit: d2ffad3d1074b25fe02720d182aa3c0563d15464 Parents: cd14cdc Author: Garren Smith <[email protected]> Authored: Thu Apr 25 16:44:23 2013 +0200 Committer: Garren Smith <[email protected]> Committed: Thu May 9 09:59:59 2013 +0200 ---------------------------------------------------------------------- src/fauxton/app/addons/config/routes.js | 1 - src/fauxton/app/addons/logs/routes.js | 1 - src/fauxton/app/addons/stats/routes.js | 2 -- src/fauxton/app/modules/databases/routes.js | 2 -- 4 files changed, 0 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/d2ffad3d/src/fauxton/app/addons/config/routes.js ---------------------------------------------------------------------- diff --git a/src/fauxton/app/addons/config/routes.js b/src/fauxton/app/addons/config/routes.js index d1495f4..4db4da7 100644 --- a/src/fauxton/app/addons/config/routes.js +++ b/src/fauxton/app/addons/config/routes.js @@ -38,7 +38,6 @@ function(app, FauxtonAPI, Config) { this.configs = new Config.Collection(); this.setView("#dashboard-content", new Config.View({collection: this.configs})); - return {}; }, establish: function () { http://git-wip-us.apache.org/repos/asf/couchdb/blob/d2ffad3d/src/fauxton/app/addons/logs/routes.js ---------------------------------------------------------------------- diff --git a/src/fauxton/app/addons/logs/routes.js b/src/fauxton/app/addons/logs/routes.js index b073074..a6af39c 100644 --- a/src/fauxton/app/addons/logs/routes.js +++ b/src/fauxton/app/addons/logs/routes.js @@ -38,7 +38,6 @@ function(app, FauxtonAPI, Log) { this.logs = new Log.Collection(); this.setView("#dashboard-content", new Log.Views.View({collection: this.logs})); this.setView("#sidebar-content", new Log.Views.FilterView({})); - return {}; }, route: function() { http://git-wip-us.apache.org/repos/asf/couchdb/blob/d2ffad3d/src/fauxton/app/addons/stats/routes.js ---------------------------------------------------------------------- diff --git a/src/fauxton/app/addons/stats/routes.js b/src/fauxton/app/addons/stats/routes.js index c473eb0..a0fc3bf 100644 --- a/src/fauxton/app/addons/stats/routes.js +++ b/src/fauxton/app/addons/stats/routes.js @@ -33,8 +33,6 @@ function(app, FauxtonAPI, Stats) { this.setView("#dashboard-content", new Views.Statistics({ collection: this.stats })); - - return {}; }, establish: function() { http://git-wip-us.apache.org/repos/asf/couchdb/blob/d2ffad3d/src/fauxton/app/modules/databases/routes.js ---------------------------------------------------------------------- diff --git a/src/fauxton/app/modules/databases/routes.js b/src/fauxton/app/modules/databases/routes.js index ee3f84e..f332eac 100644 --- a/src/fauxton/app/modules/databases/routes.js +++ b/src/fauxton/app/modules/databases/routes.js @@ -48,8 +48,6 @@ function(app, FauxtonAPI, Databases, Views) { this.sidebarView = this.setView("#sidebar-content", new Views.Sidebar({ collection: this.databases })); - - return {}; }, route: function() {
