azicchetti/jquerymobile-router — pull request #77 by lipanski (2013-05-27 17:53:15+00:00)
Title: Add reverse option (as in "reverse" transition) to bC deferred callback

With version v20130525 one is supposed to call ui.bCDeferred.resolve() inside the bC event in order to resume normal flow. However, data-direction=reverse (or reverse=true) behaviour is lost for all pages going through the bC event handler and getting rescued with resolve().

**Solution**: added ui.options.reverse in the deferred done callback. Actually shouldn't all ui.options parameters be extended within the same call?

```javascript
// my solution
$.mobile.changePage(ui.toPage, $.extend({
dataUrl: ui.options.dataUrl, reverse: ui.options.reverse
}, extraOpt ));

// better?
$.mobile.changePage(ui.toPage, $.extend({
ui.options
}, extraOpt ));
```