#NEWLINE# def _add_js_list( self , jslist ) : #NEWLINE# #INDENT# for url in jslist : #NEWLINE# #INDENT# if ( '/' not in url ) : #NEWLINE# #INDENT# url = ( '/media/js/' + url ) #NEWLINE# #UNINDENT# self . head . add ( self . dtd . Script , type = b'text/javascript' , src = url )