couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject [3/6] fauxton commit: updated refs/heads/master to 42b9fa4
Date Mon, 19 Oct 2015 09:06:50 GMT
fix comma spacing

PR: #560
PR-URL: https://github.com/apache/couchdb-fauxton/pull/560
Reviewed-By: Benjamin Keen <ben.keen@gmail.com>


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

Branch: refs/heads/master
Commit: 44a476fc5ce8aef55460849a323425c6c15e8fe1
Parents: 901d006
Author: Robert Kowalski <robertkowalski@apache.org>
Authored: Fri Oct 16 14:56:01 2015 +0200
Committer: Robert Kowalski <robertkowalski@apache.org>
Committed: Mon Oct 19 11:05:39 2015 +0200

----------------------------------------------------------------------
 app/addons/compaction/resources.js                     | 2 +-
 app/addons/cors/tests/resourcesSpec.js                 | 2 +-
 app/addons/databases/resources.js                      | 2 +-
 app/addons/documents/index-editor/tests/actionsSpec.js | 2 +-
 app/addons/fauxton/tests/paginateSpec.js               | 6 +++---
 couchapp.js                                            | 6 +++---
 index.js                                               | 2 +-
 7 files changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/44a476fc/app/addons/compaction/resources.js
----------------------------------------------------------------------
diff --git a/app/addons/compaction/resources.js b/app/addons/compaction/resources.js
index a982a17..cd42cce 100644
--- a/app/addons/compaction/resources.js
+++ b/app/addons/compaction/resources.js
@@ -38,7 +38,7 @@ function (app, FauxtonAPI) {
   Compaction.compactView = function (db, designDoc) {
     // /some_database/_compact/designname
     return $.ajax({
-      url: db.url() + '/_compact/' + designDoc.replace('_design/', '') ,
+      url: db.url() + '/_compact/' + designDoc.replace('_design/', ''),
       contentType: 'application/json',
       type: 'POST'
     });

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/44a476fc/app/addons/cors/tests/resourcesSpec.js
----------------------------------------------------------------------
diff --git a/app/addons/cors/tests/resourcesSpec.js b/app/addons/cors/tests/resourcesSpec.js
index 175a1fc..9690652 100644
--- a/app/addons/cors/tests/resourcesSpec.js
+++ b/app/addons/cors/tests/resourcesSpec.js
@@ -38,7 +38,7 @@ define([
     it('does not return an empty string (empty origin), when "specific origins" is set, but
there are no domains on that list', function () {
         var emptyOrigins = {origins: ''};
         cors.set(cors.parse(emptyOrigins));
-        assert.deepEqual(cors.get('origins') , []);
+        assert.deepEqual(cors.get('origins'), []);
       });
 
     it('allows valid domains', function () {

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/44a476fc/app/addons/databases/resources.js
----------------------------------------------------------------------
diff --git a/app/addons/databases/resources.js b/app/addons/databases/resources.js
index 2d277de..5034c84 100644
--- a/app/addons/databases/resources.js
+++ b/app/addons/databases/resources.js
@@ -63,7 +63,7 @@ function (app, FauxtonAPI, Documents) {
       } else if (context === "changes") {
         return FauxtonAPI.urls('changes', 'app', this.safeID(), '?descending=true&limit=100&include_docs=true');
       } else if (context === "changes-apiurl") {
-        return FauxtonAPI.urls('changes', 'apiurl' , this.safeID(), '?descending=true&limit=100&include_docs=true');
+        return FauxtonAPI.urls('changes', 'apiurl', this.safeID(), '?descending=true&limit=100&include_docs=true');
       } else if (context === "app") {
         return "/database/" + this.safeID();
       } else {

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/44a476fc/app/addons/documents/index-editor/tests/actionsSpec.js
----------------------------------------------------------------------
diff --git a/app/addons/documents/index-editor/tests/actionsSpec.js b/app/addons/documents/index-editor/tests/actionsSpec.js
index dec71fb..9461fd6 100644
--- a/app/addons/documents/index-editor/tests/actionsSpec.js
+++ b/app/addons/documents/index-editor/tests/actionsSpec.js
@@ -238,7 +238,7 @@ define([
         viewName = 'test-view';
         designDocId = '_design/test-doc';
         designDocs = new Documents.AllDocs([{
-          _id: designDocId ,
+          _id: designDocId,
           _rev: '1-231',
           views: {
               'test-view': {

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/44a476fc/app/addons/fauxton/tests/paginateSpec.js
----------------------------------------------------------------------
diff --git a/app/addons/fauxton/tests/paginateSpec.js b/app/addons/fauxton/tests/paginateSpec.js
index 2f49e6c..dd110f8 100644
--- a/app/addons/fauxton/tests/paginateSpec.js
+++ b/app/addons/fauxton/tests/paginateSpec.js
@@ -29,7 +29,7 @@ define([
       for (totalPages = 1; totalPages < 11; totalPages++) {
         for (currentPage = 1; currentPage < totalPages; currentPage++) {
           testObject = pageComponent.getVisiblePages(currentPage, totalPages);
-          assert.deepEqual(testObject , {from: 1, to: totalPages + 1});
+          assert.deepEqual(testObject, {from: 1, to: totalPages + 1});
         }
       }
     });
@@ -49,7 +49,7 @@ define([
       totalPages = 50;
       for (currentPage = 1; currentPage <= 6; currentPage++) {
         testObject = pageComponent.getVisiblePages(currentPage, totalPages);
-        assert.deepEqual(testObject , {from: 1, to: 11});
+        assert.deepEqual(testObject, {from: 1, to: 11});
       }
 
     });
@@ -58,7 +58,7 @@ define([
       totalPages = 50;
       for (currentPage = 46; currentPage <= totalPages; currentPage++) {
         testObject = pageComponent.getVisiblePages(currentPage, totalPages);
-        assert.deepEqual(testObject , {from: 41, to: 51});
+        assert.deepEqual(testObject, {from: 41, to: 51});
       }
     });
 

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/44a476fc/couchapp.js
----------------------------------------------------------------------
diff --git a/couchapp.js b/couchapp.js
index ce0d0a4..22ecc96 100644
--- a/couchapp.js
+++ b/couchapp.js
@@ -17,9 +17,9 @@ var couchapp = require('couchapp'),
 ddoc = {
   _id: '_design/fauxton',
   rewrites: [
-    { "from": "_db" ,    "to"  : "../.." },
-    { "from": "_db/*" ,  "to"  : "../../*" },
-    { "from": "_ddoc" ,  "to"  : "" },
+    { "from": "_db",     "to"  : "../.." },
+    { "from": "_db/*",   "to"  : "../../*" },
+    { "from": "_ddoc",   "to"  : "" },
     { "from": "_ddoc/*", "to"  : "*"},
     {from: '/', to: 'index.html'},
     {from: '/*', to: '*'}

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/44a476fc/index.js
----------------------------------------------------------------------
diff --git a/index.js b/index.js
index f500f21..802d069 100644
--- a/index.js
+++ b/index.js
@@ -28,7 +28,7 @@ module.exports = function (options) {
     .pipe(res);
   }
 
-  var fileTypes = ['js', 'css','png', 'swf', 'eot', 'woff', 'svg', 'ttf', 'swf'];
+  var fileTypes = ['js', 'css', 'png', 'swf', 'eot', 'woff', 'svg', 'ttf', 'swf'];
 
   function isFile (url) {
     var arr = url.split('.');


Mime
View raw message