Beispiel #1
0
def var_for(s):
    """return JavaScript variable name"""
    return id_for(s).replace("-", "_")
Beispiel #2
0
 def toc_guide(name):
     """generate a toc entry for a guide"""
     return link_to(name, id_for(name))
Beispiel #3
0
 def toc_guide(name):
     """generate a toc entry for a guide"""
     return link_to(name, id_for(name))
Beispiel #4
0
def var_for(s):
    """return JavaScript variable name"""
    return id_for(s).replace('-', '_')
Beispiel #5
0
def var_for(s):
    """return JavaScript variable name"""
    return id_for(s).replace('-', '_')