couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deathb...@apache.org
Subject [2/2] git commit: updated refs/heads/generate-root-from-settings to 753a748
Date Tue, 26 Nov 2013 20:40:46 GMT
set to "/" as default


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

Branch: refs/heads/generate-root-from-settings
Commit: 753a74816ed1b9f1b7fd1f0604a03c1d862ee590
Parents: c1188d8
Author: suelockwood <deathbearbrown@gmail.com>
Authored: Tue Nov 26 14:29:41 2013 -0500
Committer: suelockwood <deathbearbrown@gmail.com>
Committed: Tue Nov 26 14:29:41 2013 -0500

----------------------------------------------------------------------
 src/fauxton/tasks/fauxton.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/753a7481/src/fauxton/tasks/fauxton.js
----------------------------------------------------------------------
diff --git a/src/fauxton/tasks/fauxton.js b/src/fauxton/tasks/fauxton.js
index e466c9f..f43546c 100644
--- a/src/fauxton/tasks/fauxton.js
+++ b/src/fauxton/tasks/fauxton.js
@@ -97,7 +97,7 @@ module.exports = function(grunt) {
     var settings = grunt.file.readJSON(settingsFile);
     var template = "app/initialize.js.underscore";
     var dest = "app/initialize.js";
-    var root = settings.root;
+    var root = settings.root || "/";
     var tmpl = _.template(grunt.file.read(template));
     grunt.file.write(dest, tmpl({root: root}));
   });


Mime
View raw message