Added a :js:attribute:: directive as well as a :js:attr: role to describe attributes of javascript objects.

This commit is contained in:
Daniel Neuhäuser
2010-03-30 22:22:57 +00:00
parent 8cbdf1ec34
commit 5831add5bb
3 changed files with 29 additions and 16 deletions

View File

@@ -83,6 +83,8 @@ Javascript items
.. documenting the method of any object
.. js:function:: bar.baz()
.. js:attribute:: bar.spam
References
==========
@@ -102,6 +104,8 @@ Without target: :c:func:`CFunction`. :c:func:`!malloc`.
:js:func:`bar.baz()`
:js:func:`bar.baz`
:js:attr:`bar.baz`
Others
======