It is now possible to use the js:function:: directive for methods.

This commit is contained in:
Daniel Neuhäuser
2010-03-30 21:50:48 +00:00
parent 8bc0248a14
commit 8cbdf1ec34
3 changed files with 27 additions and 4 deletions
+3 -3
View File
@@ -553,9 +553,9 @@ The JavaScript domain (name **js**) provides the following directives:
.. directive:: .. js:function:: name(signature)
Describe a JavaScript function. If you want to document optional
arguments use square brackets as :ref:`documented <signatures>` for Python
signatures.
Describe a JavaScript function, method or constructor. If you want to
document optional arguments use square brackets as
:ref:`documented <signatures>` for Python signatures.
.. directive:: .. js:data:: name