

def __init__(self, element, **kw):
    self.element = element.replace('-', '_')
    self.commands = [("var LV%s =  new LiveValidation('%s', { %s });" % (self.element, element, ','.join(inner(kw.items()))))]

dataset/ETHPy150Open callowayproject/django-livevalidation/livevalidation/validator.py LiveValidation.__init__/original