appium/appium — pull request #2429 by fbai (2014-04-28 10:05:58+00:00)
Title: Fix issue when iterating the entries

Every time you call entries.pop(), the entries.length minus 1.
We should check entries.length>0 as the end of loop.

This request is same as pull request #2426. fix a typo error.