예제 #1
0
def var_for(s):
    """return JavaScript variable name"""
    return id_for(s).replace("-", "_")
예제 #2
0
 def toc_guide(name):
     """generate a toc entry for a guide"""
     return link_to(name, id_for(name))
예제 #3
0
파일: views.py 프로젝트: dsilabs/datazoomer
 def toc_guide(name):
     """generate a toc entry for a guide"""
     return link_to(name, id_for(name))
예제 #4
0
파일: map.py 프로젝트: brettgoss/datazoomer
def var_for(s):
    """return JavaScript variable name"""
    return id_for(s).replace('-', '_')
예제 #5
0
def var_for(s):
    """return JavaScript variable name"""
    return id_for(s).replace('-', '_')