GitHub user garrensmith opened a pull request:
https://github.com/apache/couchdb-fauxton/pull/29
Backbone.layout upgrade
This is taking @tbranyen's work and adding to it a little to get the new
backbone.layoutmanager working with Fauxton.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/garrensmith/couchdb-fauxton
backbone.layout-upgrade
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-fauxton/pull/29.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #29
----
commit c48962c4b55cc829fa2a75aeaaaea6590a9fcba8
Author: Tim Branyen <[email protected]>
Date: 2014-08-01T14:18:13Z
Refactored Layout and View, upgraded to latest LM
The Layout object was a simple wrapper over the Layout constructor
instead of extending the constructor itself. I've patched this to make
it more consistent and removed duplicative methods. I've also removed
the tests for `removeView` since that is now a built-in method.
The latest LM contains bugfixes and render performance updates that
unforuntately have to be opt-out. Areas in the source or tests that are
expecting synchronous renders must be patched to work asynchronously to
take advantage.
commit 9738389f918c542df106ddb04fd47a3fb0a2c3c4
Author: Garren Smith <[email protected]>
Date: 2014-08-11T10:06:21Z
Upgrade backbone.layoutmanager
Work off Tim's initial commits and adjust to cater for the use of
establish functions in views and routeObjects.
We don't want to immediately render the view. We first want any pending
promises returned from a routeObjects establish and a view's establish
to complete before rendering the view.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---