enyojs/enyo — pull request #207 by onecrayon (2012-12-14 18:42:38+00:00)
Title: Fixed logic bugs with calculating right and bottom positioning overflow for Popups

I made a silly logic error in the original popup positioning code that could result in the popup being shown offscreen if it was anchored to the right or bottom instead of left/top; this fixes the issue.