Please read this short guide to contributing before performing pull requests or reporting issues. The purpose of this guide is to ensure the best experience for all involved and make development as smooth as possible.
To report a bug, request a feature, or even ask a question, make use of the GitHub Issues in this repo. When submitting an issue please take the following steps:
1. Search for existing issues. Your bug may have already been fixed or addressed in an unreleased version, so be sure to search the issues first before putting in a duplicate issue.
2. Create an isolated and reproducible test case. If you are reporting a bug, make sure you also have a minimal, runnable, code example that reproduces the problem you have.
3. Include a live example. After narrowing your code down to only the problem areas, make use of jsFiddle, jsBin, or a link to your live site so that we can view a live example of the problem.
4. Share as much information as possible. Include browser/node version affected, your OS, version of the library, steps to reproduce, etc. "X isn't working!!!1!" will probably just be closed.
To build the library you will need to download node.js from nodejs.org. After it has been installed open a
console and run npm install -g yarn
to install the global yarn
executable.
After that you can clone the repository and run npm install
inside the cloned folder. This will install
dependencies necessary for building the project. You can rebuild the project by running yarn build
in the cloned
folder.
Once that is ready, you can make your changes and submit a Pull Request:
-
Send Pull Requests to the
master
branch. All Pull Requests must be sent to themaster
branch, which is where all "bleeding-edge" development takes place. -
Never commit new builds. When making a code change you should always run
yarn build
which will rebuild the project so you can test, however please do not commit the new builds placed indist/
or your PR will be closed. By default the build process will output to an ignored folder (build/
) you should be fine. -
Only commit relevant changes. Don't include changes that are not directly relevant to the fix you are making. The more focused a PR is, the faster it will get attention and be merged. Extra files changing only whitespace or trash files will likely get your PR closed.