summaryrefslogtreecommitdiff
path: root/sphinx/domains/javascript.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-07-27 14:28:31 +0200
committerGeorg Brandl <georg@python.org>2010-07-27 14:28:31 +0200
commit954e8d0220866151ca2e57cf90885c008fc4ae35 (patch)
tree1c863e62bf61d52deaddc47b19a44d33bfd535e5 /sphinx/domains/javascript.py
parent8c0c728d1bee97e3c286784db062067175a24269 (diff)
downloadsphinx-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.py3
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