   clearTimeout target._transitionTimer
 
   if target._transitionPromise
-    Promise.reject target._transitionPromise, new TransitionCanceled "Transition
-    canceled by another transition event."
+    Promise.reject target._transitionPromise, new TransitionCanceledExc "
+    Transition canceled by another transition event."
 
   target._transitionPromise = promise
 

        clearTimeout @_transitionTimer

        if @_transitionPromise
          Promise.reject @_transitionPromise, new TransitionCanceled "Transition
          canceled by another transition event."

        @_transitionPromise = promise


    clearTimeout @_transitionTimer
    @_removeTransitionClasses()
    if @_transitionPromise
      Promise.reject @_transitionPromise, new TransitionCanceledExc(reason)
    return


