You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2014/09/19 19:13:48 UTC
[2/2] fauxton commit: updated refs/heads/master to f72e034
jshint fix for add ons created by grunt tool
Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/f72e034f
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/f72e034f
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/f72e034f
Branch: refs/heads/master
Commit: f72e034fa853d4d201774a227f345242df7cbe36
Parents: c5c4d9d
Author: Benjamin Keen <be...@gmail.com>
Authored: Thu Sep 18 13:51:54 2014 -0700
Committer: Robert Kowalski <ro...@kowalski.gd>
Committed: Fri Sep 19 19:11:39 2014 +0200
----------------------------------------------------------------------
tasks/addon/root/routes.js.underscore | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/f72e034f/tasks/addon/root/routes.js.underscore
----------------------------------------------------------------------
diff --git a/tasks/addon/root/routes.js.underscore b/tasks/addon/root/routes.js.underscore
index fa565b3..cd9394d 100644
--- a/tasks/addon/root/routes.js.underscore
+++ b/tasks/addon/root/routes.js.underscore
@@ -16,7 +16,7 @@ define([
"addons/{%= name.toLowerCase() %}/resources"
],
function(app, FauxtonAPI, {%= name %}) {
- {%= name.substr(0, 1).toUpperCase() + name.substr(1)%}RouteObject = FauxtonAPI.RouteObject.extend({
+ var {%= name.substr(0, 1).toUpperCase() + name.substr(1)%}RouteObject = FauxtonAPI.RouteObject.extend({
layout: "with_sidebar",
crumbs: [
@@ -32,11 +32,9 @@ function(app, FauxtonAPI, {%= name %}) {
},
initialize: function () {
- },
-
+ }
});
-
{%= name %}.RouteObjects = [{%= name.substr(0, 1).toUpperCase() + name.substr(1)%}RouteObject];
return {%= name %};
});