def js_dict(d):
 dict_items = [indent((u"'%s': (%s)" % (k, v))) for (k, v) in d.items()]
 return (u'{\n%s\n}' % u',\n'.join(dict_items))

def js_dict ( d ) : dict_items = [ indent ( ( u"'%s': (%s)" % ( k , v ) ) ) for ( k , v ) in d . items ( ) ] return ( u'{\n%s\n}' % u',\n' . join ( dict_items ) )
return a javascript expression string for the dict d .