Commits

Georg Brandl committed f6f7f2e Merge

Merge with 1.0

Comments (0)

Files changed (1)

sphinx/domains/javascript.py

         sig = sig.strip()
         if '(' in sig and sig[-1:] == ')':
             prefix, arglist = sig.split('(', 1)
+            prefix = prefix.strip()
             arglist = arglist[:-1].strip()
         else:
             prefix = sig