enyojs/moonstone — pull request #1778 by aarontam (2014-11-19 23:41:43+00:00)
Title: ENYO-524: Set animationEnd to hoop even when showing popup.

### Issue
Because `moon.Popup` can be shown without any animation (i.e. direct hide/show), it's possible that the popup can be hidden normally (i.e. with animation), and then immediately shown directly. This causes the scrim state to become out of sync (as we read the current showing state to show/hide the scrim, and thus at the end of the hiding animation, the showing state is `true`).

### Fix
We had previously only noop'ed `animationEnd` when showing the popup in an animated state - we now do this in the non-animated state as well.

Enyo-DCO-1.1-Signed-off-by: Aaron Tam