Commit 311f6e2d authored by Marco Mariani's avatar Marco Mariani

docs: swapped two columns

parent 4a8f9e50
...@@ -154,11 +154,11 @@ To retrieve jIO responses, you have to provide callbacks like this: ...@@ -154,11 +154,11 @@ To retrieve jIO responses, you have to provide callbacks like this:
Here is a list of responses returned by jIO according to methods and options: Here is a list of responses returned by jIO according to methods and options:
================== ============================================== =============================================== ============================================== ================== ===============================================
Option Available for Response (Callback first parameter) Available for Option Response (Callback first parameter)
================== ============================================== =============================================== ============================================== ================== ===============================================
Any ``.post()``, ``.put()``, ``.remove()`` .. code-block:: javascript ``.post()``, ``.put()``, ``.remove()`` Any .. code-block:: javascript
{ {
result: 'success', result: 'success',
method: 'post', method: 'post',
...@@ -167,8 +167,8 @@ Any ``.post()``, ``.put()``, ``.remove()`` .. code-bl ...@@ -167,8 +167,8 @@ Any ``.post()``, ``.put()``, ``.remove()`` .. code-bl
status: 204, status: 204,
statusText: 'No Content' statusText: 'No Content'
} }
Any ``.putAttachment()``, ``.removeAttachment()`` .. code-block:: javascript ``.putAttachment()``, ``.removeAttachment()`` Any .. code-block:: javascript
{ {
result: 'success', result: 'success',
method: 'putAttachment', method: 'putAttachment',
...@@ -178,8 +178,8 @@ Any ``.putAttachment()``, ``.removeAttachment()`` .. code-bl ...@@ -178,8 +178,8 @@ Any ``.putAttachment()``, ``.removeAttachment()`` .. code-bl
status: 204, status: 204,
statusText: 'No Content' statusText: 'No Content'
} }
Any ``.get()`` .. code-block:: javascript ``.get()`` Any .. code-block:: javascript
{ {
result: 'success', result: 'success',
method: 'get', method: 'get',
...@@ -190,8 +190,8 @@ Any ``.get()`` .. code-bl ...@@ -190,8 +190,8 @@ Any ``.get()`` .. code-bl
// Here, the document metadata // Here, the document metadata
} }
} }
Any ``.getAttachment()`` .. code-block:: javascript ``.getAttachment()`` Any .. code-block:: javascript
{ {
result: 'success', result: 'success',
method: 'getAttachment', method: 'getAttachment',
...@@ -201,8 +201,8 @@ Any ``.getAttachment()`` .. code-bl ...@@ -201,8 +201,8 @@ Any ``.getAttachment()`` .. code-bl
statusText: 'Ok', statusText: 'Ok',
data: Blob // Here, the attachment content data: Blob // Here, the attachment content
} }
No option ``.allDocs()`` .. code-block:: javascript ``.allDocs()`` No option .. code-block:: javascript
{ {
result: 'success', result: 'success',
method: 'allDocs', method: 'allDocs',
...@@ -218,8 +218,8 @@ No option ``.allDocs()`` .. code-bl ...@@ -218,8 +218,8 @@ No option ``.allDocs()`` .. code-bl
}] }]
} }
} }
include_docs: true ``.allDocs()`` .. code-block:: javascript ``.allDocs()`` include_docs: true .. code-block:: javascript
{ {
result: 'success', result: 'success',
method: 'allDocs', method: 'allDocs',
...@@ -238,7 +238,7 @@ include_docs: true ``.allDocs()`` .. code-bl ...@@ -238,7 +238,7 @@ include_docs: true ``.allDocs()`` .. code-bl
}] }]
} }
} }
================== ============================================== =============================================== ============================================== ================== ===============================================
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment