Rivets.js is a DOM-based templating system that sits ontop of a configurable component architecure. It let’s you build model-driven views (MDV) using declarative two-way data binding. If used properly it can reduce code complexity in your app by elimating the need to manually update the DOM, letting you focus more on your application’s data and domain logic.
All documentation for Rivets.js is available on the homepage. See the Getting started section to learn how to create views and properly configure Rivets.js for your app.
First, make sure to install any development dependencies.
npm install
Rivets.js uses gulp as it's build tool. Run the following task to compile + minify the source into dist/
.
gulp build
Rivets.js uses mocha as it's testing framework, alongside should for expecations and sinon for spies, stubs and mocks. Run the following task to run the full test suite.
gulp spec
- Ensure the bug can be reproduced on the latest master.
- Open an issue on GitHub and include an isolated JSFiddle demonstration of the bug. The more information you provide, the easier it will be to validate and fix.
- Fork the repository and create a topic branch.
- Make sure not to commit any changes under
dist/
as they will surely cause merge conflicts later. Files underdist/
are only committed when a new build is released. - Include tests that cover any changes or additions that you've made.
- Push your topic branch to your fork and submit a pull request. Include details about the changes as well as references to any related issues.