couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject [1/4] fauxton commit: updated refs/heads/master to 36957d0
Date Mon, 08 Sep 2014 13:29:32 GMT
Repository: couchdb-fauxton
Updated Branches:
  refs/heads/master bacf6fd71 -> 36957d032


Convert tabs to spaces, remove trailing whitespaces


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

Branch: refs/heads/master
Commit: 00b8fd0307ab2e18220ba968732e81cdabf3dae4
Parents: bacf6fd
Author: Robert Kowalski <rok@kowalski.gd>
Authored: Sun Aug 31 22:58:39 2014 +0200
Committer: Robert Kowalski <rok@kowalski.gd>
Committed: Mon Sep 8 15:28:15 2014 +0200

----------------------------------------------------------------------
 app/addons/replication/route.js | 10 +++++-----
 app/addons/replication/views.js | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/00b8fd03/app/addons/replication/route.js
----------------------------------------------------------------------
diff --git a/app/addons/replication/route.js b/app/addons/replication/route.js
index 17368f8..8495fa2 100644
--- a/app/addons/replication/route.js
+++ b/app/addons/replication/route.js
@@ -32,19 +32,19 @@ function(app, FauxtonAPI, Replication, Views) {
       {"name": "Replicate changes from: ", "link": "replication"}
     ],
     defaultView: function(dbname){
-			this.databases = new Replication.DBList({});
+      this.databases = new Replication.DBList({});
       this.tasks = new Replication.Tasks({id: "ReplicationTasks"});
       this.replication = new Replication.Replicate({});
-			this.setView("#dashboard-content", new Views.ReplicationForm({
+      this.setView("#dashboard-content", new Views.ReplicationForm({
         selectedDB: dbname ||"",
-				collection: this.databases,
+        collection: this.databases,
         status:  this.tasks
-			}));  
+      }));
     }
   });
 
 
-	Replication.RouteObjects = [RepRouteObject];
+  Replication.RouteObjects = [RepRouteObject];
 
   return Replication;
 });

http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/00b8fd03/app/addons/replication/views.js
----------------------------------------------------------------------
diff --git a/app/addons/replication/views.js b/app/addons/replication/views.js
index a19e609..1184878 100644
--- a/app/addons/replication/views.js
+++ b/app/addons/replication/views.js
@@ -32,7 +32,7 @@ function(app, FauxtonAPI, Components, replication) {
   // -----------------------------------
   // afterRender: autocomplete on the target input field
   // beforeRender:  add the status table
-  // disableFields:  disable non active fields on submit 
+  // disableFields:  disable non active fields on submit
   // enableFields:  enable field when radio btns are clicked
   // establish:  get the DB list for autocomplete
   // formValidation:  make sure fields aren't empty
@@ -153,7 +153,7 @@ function(app, FauxtonAPI, Components, replication) {
         }
       });
       this.enableFields();
-    },		
+    },
     updateButtonText: function(wait){
       var $button = this.$('#replication button[type=submit]');
       if(wait){
@@ -163,7 +163,7 @@ function(app, FauxtonAPI, Components, replication) {
       }
     },
     submit: function(e){
-      this.disableFields(); 
+      this.disableFields();
       var formJSON = {};
       _.map(this.$(e.currentTarget).serializeArray(), function(formData){
         if(formData.value !== ''){
@@ -173,7 +173,7 @@ function(app, FauxtonAPI, Components, replication) {
 
       this.updateButtonText(true);
       this.startReplication(formJSON);
-    },	
+    },
     swapFields: function(e){
       //WALL O' VARIABLES
       var $fromSelect = this.$('#from_name'),
@@ -219,7 +219,7 @@ function(app, FauxtonAPI, Components, replication) {
     },
     beforeRender:  function(){
       this.collection.forEach(function(item) {
-        this.insertView(new View.replicationItem({ 
+        this.insertView(new View.replicationItem({
           model: item
         }));
       }, this);


Mime
View raw message