#NEWLINE# def call_on_request_frame( self ) : #NEWLINE# #INDENT# js = '' #NEWLINE# if hasattr ( js_execute , 'prerender' ) : #NEWLINE# #INDENT# js = '#{self.prerender}();\n' #NEWLINE# #UNINDENT# js += '\n            #{js_execute}();\n            window.requestAnimationFrame(__recursive__);\n        ' #NEWLINE# js_execute = self . rdoc . jsfunction ( self . execute ) #NEWLINE# fnc = self . rdoc . jsfunction ( js , call = True , recursive = True )