diff options
author | Georg Brandl <georg@python.org> | 2010-05-23 16:48:54 +0200 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-05-23 16:48:54 +0200 |
commit | 0f2a0381ba5d92aec1fb45c2fc925eb3b71bd837 (patch) | |
tree | d8917605fb0507547c94ead9c376c22c7b53d2c9 /sphinx/domains/javascript.py | |
parent | 3f4a791413b262f2854f373dad8b2f3a1c32805b (diff) | |
download | sphinx-git-0f2a0381ba5d92aec1fb45c2fc925eb3b71bd837.tar.gz |
Rename default_domain to primary_domain; give it special semantics.
Diffstat (limited to 'sphinx/domains/javascript.py')
-rw-r--r-- | sphinx/domains/javascript.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sphinx/domains/javascript.py b/sphinx/domains/javascript.py index 51ff1da1c..31a769873 100644 --- a/sphinx/domains/javascript.py +++ b/sphinx/domains/javascript.py @@ -163,9 +163,9 @@ class JavaScriptDomain(Domain): label = 'JavaScript' # if you add a new object type make sure to edit JSObject.get_index_string object_types = { - 'function': ObjType(l_('JavaScript function'), 'func'), - 'data': ObjType(l_('JavaScript data'), 'data'), - 'attribute': ObjType(l_('JavaScript attribute'), 'attr'), + 'function': ObjType(l_('function'), 'func'), + 'data': ObjType(l_('data'), 'data'), + 'attribute': ObjType(l_('attribute'), 'attr'), } directives = { 'function': JSCallable, |