#NEWLINE# def javascript_tools( tern ) : #NEWLINE# #INDENT# active_completion = ( lambda : AreaVi . ACTIVE . hook ( 'INSERT' , '<Control-Key-period>' , ( lambda event : JavascriptCompleteWindow ( tern , event . widget ) ) , add = False ) ) #NEWLINE# ENV [ 'active_javascript_completion' ] = active_completion