   # @public
   ###
   hide: (cb) ->
-    setTimeout =>
-      if @rendered
-        @_stopTransition()
-        @prefixedClasses.remove VISIBLE_CLS
-        @prefixedClasses.add HIDDEN_CLS
-        @fire 'hide'
-        cb?.call null
-    , 0
+    if @rendered
+      @_stopTransition()
+      @prefixedClasses.remove VISIBLE_CLS
+      @prefixedClasses.add HIDDEN_CLS
+      @fire 'hide'
+      cb?.call null
     @
 
 

  # @public
  ###
  show: (cb) ->
    setTimeout =>
      if @rendered
        @_stopTransition()
        @prefixedClasses.remove HIDDEN_CLS
        @prefixedClasses.add VISIBLE_CLS
        @fire 'show'
        cb?.call null
    , 0
    @



        @_transitionTimer = setTimeout =>
          @[func] cb
        , t
        # Important! We have to ask for the `offsetHeight` to trigger a browser
        # repaint. 
        x = @root.offsetHeight
        @fire event
    @


