jquery/jquery-mobile — pull request #5059 by asyraf9 (2012-09-21 23:36:15+00:00)
Title: pull request for issue #4984

this is a pull request for a small code change to bring back _registerInternalEvents to allow overriding of JQM's event handlers in plugins as per this issue: https://github.com/jquery/jquery-mobile/issues/4984

I had to defer the registering of the callback to navreadyDeferred by binding it to mobileinit, because once registered to a deferred, it doesn't matter if _registerInternalEvents value is changed - deferred still points to the original callback.

so am not sure this is a good solution, but provided here for your review anyways.