#NEWLINE# def init( is_native = None ) : #NEWLINE# #INDENT# global DragWidget , DragContainer #NEWLINE# if ( is_native is None ) : #NEWLINE# #INDENT# html5_dnd = hasattr ( DOM . createElement ( 'span' ) , 'draggable' ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# html5_dnd = is_native #NEWLINE# #UNINDENT# if html5_dnd : #NEWLINE# #INDENT# DragContainer = Html5DragContainer #NEWLINE# DragWidget = Html5DragWidget #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# DragContainer = MouseDragContainer #NEWLINE# DragWidget = MouseDragWidget