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

docs: swapped two columns

parent 4a8f9e50
......@@ -154,10 +154,10 @@ 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:
================== ============================================== ===============================================
Option Available for Response (Callback first parameter)
================== ============================================== ===============================================
Any ``.post()``, ``.put()``, ``.remove()`` .. code-block:: javascript
============================================== ================== ===============================================
Available for Option Response (Callback first parameter)
============================================== ================== ===============================================
``.post()``, ``.put()``, ``.remove()`` Any .. code-block:: javascript
{
result: 'success',
......@@ -167,7 +167,7 @@ Any ``.post()``, ``.put()``, ``.remove()`` .. code-bl
status: 204,
statusText: 'No Content'
}
Any ``.putAttachment()``, ``.removeAttachment()`` .. code-block:: javascript
``.putAttachment()``, ``.removeAttachment()`` Any .. code-block:: javascript
{
result: 'success',
......@@ -178,7 +178,7 @@ Any ``.putAttachment()``, ``.removeAttachment()`` .. code-bl
status: 204,
statusText: 'No Content'
}
Any ``.get()`` .. code-block:: javascript
``.get()`` Any .. code-block:: javascript
{
result: 'success',
......@@ -190,7 +190,7 @@ Any ``.get()`` .. code-bl
// Here, the document metadata
}
}
Any ``.getAttachment()`` .. code-block:: javascript
``.getAttachment()`` Any .. code-block:: javascript
{
result: 'success',
......@@ -201,7 +201,7 @@ Any ``.getAttachment()`` .. code-bl
statusText: 'Ok',
data: Blob // Here, the attachment content
}
No option ``.allDocs()`` .. code-block:: javascript
``.allDocs()`` No option .. code-block:: javascript
{
result: 'success',
......@@ -218,7 +218,7 @@ No option ``.allDocs()`` .. code-bl
}]
}
}
include_docs: true ``.allDocs()`` .. code-block:: javascript
``.allDocs()`` include_docs: true .. code-block:: javascript
{
result: 'success',
......@@ -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