Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Commit

Permalink
refactor(interimElement, animate): improve logic with promise chains …
Browse files Browse the repository at this point in the history
…and timeouts

waitTransitionEnd() rejects only if timeout occurs
interimElement
- use of try/catch with onShow and onRemove callbacks
- improved capture of exceptions and rejections
- .show() promise will resolve only if both the show and hide actions resolve
- .show() has improved logic for removing existing interimElement before showing new one
- $log used to notify developer of waitTransitionEnd timeouts
- corrected usages of promise chains and exposure of unique `interimElement.deferred.promise`
- added logic tests for .show() and .hide() with rejections and exceptions.
  • Loading branch information
ThomasBurleson committed Jul 19, 2015
1 parent d6a938e commit eaa3324
Show file tree
Hide file tree
Showing 3 changed files with 411 additions and 127 deletions.
Loading

0 comments on commit eaa3324

Please sign in to comment.