<s> class Timer : <EOL> def __setTimeout ( self , delayMillis ) : <EOL> mf = get_main_frame ( ) <EOL> return mf . nsITimer ( self . __fire , delayMillis ) <EOL> def __clearTimeout ( self , timer ) : <EOL> timer . cancel ( ) <EOL> def __setInterval ( self , periodMillis ) : <EOL> mf = get_main_frame ( ) <EOL> return mf . nsITimer ( self . __fire , periodMillis , True ) <EOL> __clearInterval = __clearTimeout </s>
