rhomobile/RMS-Testing — pull request #8 by larsburgess (2013-07-19 00:16:19+00:00)
Title: Workaround to stabilize push js test for unregister/register

TODO: getDeviceId should NOT call the callback function until the push
client finishes registering. This results in a race condition where
the old device id is returned and push can be sent too early.