#NEWLINE# def __init__( self , eventMethodName , obj , method , * args ) : #NEWLINE# #INDENT# self . obj = obj #NEWLINE# self . method = method #NEWLINE# self . args = args #NEWLINE# JS ( 'this[@{{eventMethodName}}] = this.onEvent;' )