diff options
author | Georg Brandl <georg@python.org> | 2010-07-27 14:28:31 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-07-27 14:28:31 +0200 |
commit | 954e8d0220866151ca2e57cf90885c008fc4ae35 (patch) | |
tree | 1c863e62bf61d52deaddc47b19a44d33bfd535e5 /sphinx/domains/javascript.py | |
parent | 8c0c728d1bee97e3c286784db062067175a24269 (diff) | |
download | sphinx-git-954e8d0220866151ca2e57cf90885c008fc4ae35.tar.gz |
#474: Fix javascript domain parsing of object names.
Diffstat (limited to 'sphinx/domains/javascript.py')
-rw-r--r-- | sphinx/domains/javascript.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sphinx/domains/javascript.py b/sphinx/domains/javascript.py index 890af8e14..9934dba3a 100644 --- a/sphinx/domains/javascript.py +++ b/sphinx/domains/javascript.py @@ -31,6 +31,7 @@ class JSObject(ObjectDescription): display_prefix = None def handle_signature(self, sig, signode): + import pdb; pdb.set_trace() sig = sig.strip() if '(' in sig and sig[-1:] == ')': prefix, arglist = sig.split('(', 1) @@ -56,7 +57,7 @@ class JSObject(ObjectDescription): else: # just a function or constructor objectname = '' - fullname = '' + fullname = name signode['object'] = objectname signode['fullname'] = fullname |