Changed the double quotes to single quotes to match the rest of the project.

This commit is contained in:
Daniel Neuhäuser 2010-03-30 22:29:50 +00:00
parent 5831add5bb
commit 2331552a85

View File

@ -84,20 +84,20 @@ class JSCallable(JSObject):
class JavaScriptDomain(Domain):
"""JavaScript language domain."""
name = "js"
label= "JavaScript"
name = 'js'
label= 'JavaScript'
object_types = {
"function" : ObjType(l_("js function"), "func"),
"data" : ObjType(l_("js data"), "data"),
"attribute" : ObjType(l_("js attribute"), "attr"),
'function' : ObjType(l_('js function'), 'func'),
'data' : ObjType(l_('js data'), 'data'),
'attribute' : ObjType(l_('js attribute'), 'attr'),
}
directives = {
"function" : JSCallable,
"data" : JSObject,
"attribute" : JSObject,
'function' : JSCallable,
'data' : JSObject,
'attribute' : JSObject,
}
roles = {
"func": XRefRole(fix_parens=True),
"data": XRefRole(),
"attr": XRefRole()
'func': XRefRole(fix_parens=True),
'data': XRefRole(),
'attr': XRefRole()
}