Looking to contribute something to Xnova? Here's how you can help.
Please take a moment to review this document in order to make the contribution process easy and effective for everyone involved.
Following these guidelines helps to communicate that you respect the time of the developers managing and developing this open source project. In return, they should reciprocate that respect in addressing your issue or assessing patches and features.
- Use tags and elements appropriate for an HTML5 doctype (e.g., self-closing tags).
- Use CDNs and HTTPS for third-party JS when possible. We don't use protocol-relative URLs in this case because they break when viewing the page locally via
file://
. - Use WAI-ARIA attributes in documentation examples to promote accessibility.
- When feasible, default color palettes should comply with WCAG color contrast guidelines.
- Except in rare cases, don't remove default
:focus
styles (via e.g.outline: none;
) without providing alternative styles. See this A11Y Project post for more details.
- No semicolons (in client-side JS)
- 2 spaces (no tabs)
- strict mode
- "Attractive"
Run grunt test
before committing to ensure your changes follow our coding standards.
By contributing your code, you agree to license your contribution under the GPLv3 License. By contributing to the documentation, you agree to license your contribution under the Creative Commons Attribution 3.0 Unported License.