GitHub user benkeen opened a pull request:
https://github.com/apache/couchdb-fauxton/pull/439
Databases component tweak
This line causes problems when using the component within
other components - not something that currently occurs on Fauxton.
I tried contriving a test but couldn't find an easy way to break
it so decided to forego the test. As you can see, all
the current Fauxton tests work fine.
All it does is change the collection default to an actual Backbone
collection rather than an object.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/benkeen/couchdb-fauxton
databases-component-tweak
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/couchdb-fauxton/pull/439.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 #439
----
commit 0e34b78c4b2de756d3dd60d3a135024039fe622a
Author: Ben Keen <[email protected]>
Date: 2015-05-26T17:50:31Z
Prevent duplicate mocha tests running
When running mocha for environments where Fauxton has been
extended, e.g. the Cloudant dashboard, tests unique to that other
environment get run twice because the original tests are included
once from the original folder and once from where they've been
copied - in the Fauxton /app folder. Since we know that the files
would need to be copied over to the /app folder for inclusion
in Fauxton, this PR removes the extra tests from the original
source.
commit 7fe3c4ef92095b68a57100e45f1d390d17e68642
Author: Ben Keen <[email protected]>
Date: 2015-05-26T22:48:11Z
Change default collection to empty collection
This line causes problems when using the component within
other components - not something that currently occurs on Fauxton.
I tried contriving a test but couldn't find an easy way to break
it so decided to forego the test this time. As you can see, all
the current tests work fine.
All it does is change the collection default to an actual Backbone
collection rather than an object.
----
---
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.
---