From 4077fe024803338a5b8650fb38bdc74a9dcda1da Mon Sep 17 00:00:00 2001
From: Tristan Cavelier <tristan.cavelier@tiolive.com>
Date: Fri, 21 Dec 2012 10:44:51 +0100
Subject: [PATCH] console.log and some trailling spaces removed

---
 src/jio/commands/command.js              | 4 ----
 src/jio/commands/putAttachmentCommand.js | 2 --
 src/jio/jio.outro.js                     | 7 +------
 3 files changed, 1 insertion(+), 12 deletions(-)

diff --git a/src/jio/commands/command.js b/src/jio/commands/command.js
index 0cdc237..dcd66c8 100644
--- a/src/jio/commands/command.js
+++ b/src/jio/commands/command.js
@@ -26,10 +26,6 @@ var command = function(spec, my) {
 
     // xxx fixed spec.content to spec.doc.content for PUTATTACHMENT
     // xxx need extra check for GET, otherwise spec.doc is undefined
-    console.log("COMMAND");
-    console.log( spec );
-    console.log( spec.doc );
-    console.log( spec.doc.content );
     priv.content   = spec.doc === undefined ? undefined :
         typeof spec.doc.content === 'string'?
                 spec.doc.content:
diff --git a/src/jio/commands/putAttachmentCommand.js b/src/jio/commands/putAttachmentCommand.js
index 15a5e07..6f9ba1b 100644
--- a/src/jio/commands/putAttachmentCommand.js
+++ b/src/jio/commands/putAttachmentCommand.js
@@ -11,8 +11,6 @@ var putAttachmentCommand = function(spec, my) {
     that.executeOn = function (storage) {
         storage.putAttachment (that);
     };
-    console.log("putAttachmentCommand");
-    console.log( typeof that.getContent() );
     that.validateState = function () {
         if (typeof that.getContent() !== 'string') {
             that.error({
diff --git a/src/jio/jio.outro.js b/src/jio/jio.outro.js
index 4b3cf81..d56bdc5 100644
--- a/src/jio/jio.outro.js
+++ b/src/jio/jio.outro.js
@@ -147,11 +147,6 @@
     };
 
     priv.parametersToObject = function (list, default_options) {
-        
-        console.log("aloha");
-        console.log("what do we have");
-        console.log( list );
-        console.log( default_options );
         var k, i = 0, callbacks = [], param = {options:{}};
         for (i = 0; i < list.length; i += 1) {
             if (typeof list[i] === 'object') {
@@ -353,7 +348,7 @@
                 {max_retry: 0}
             );
 
-            priv.addJob(putAttachmentCommand,{ 
+            priv.addJob(putAttachmentCommand,{
                 doc:{_id:id,content:doc,_rev:rev,mimetype:mimetype},
                 options:param.options,
                 callbacks:{success:param.success,error:param.error}
-- 
2.30.9