Skip to content

Commit

Permalink
Fix syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellamaki committed May 21, 2021
1 parent d9fd18e commit 21bb05a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/frontend_architecture/HTML5_API.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Access the API from within an HTML5 app by using ``window.kolibri.[function]``
Functions:

.. code-block:: javascript
/**
* Type definition for Language metadata
* @typedef {Object} Language
Expand Down Expand Up @@ -97,8 +98,8 @@ Functions:
* Method to search for contentnodes on Kolibri and return
* an array of matching metadata
* @param {Object} options - The different options to search by
* @param {string=} options.keyword - search term for key word search
* @param {string=} options.under - id of topic to search under, or 'self'
* @param {string} [options.keyword] - search term for key word search
* @param {string} [options.under] - id of topic to search under, or 'self'
* @return {Promise<PageResult>} - a Promise that resolves to an array of ContentNodes
*/
searchContent(options)
Expand Down

0 comments on commit 21bb05a

Please sign in to comment.