GoScrobble/web/node_modules/stackframe/CONTRIBUTING.md

1.2 KiB

Submitting bugs

Please include the following information to help us reproduce and fix:

  • What you did
  • What you expected to happen
  • What actually happened
  • Browser and version
  • Example code that reproduces the problem (if possible)
  • (l33t mode) A failing test

Making contributions

Want to be listed as a Contributor? Make a pull request with:

  • Unit and/or functional tests that validate changes you're making.
  • Run unit tests in the latest IE, Firefox, Chrome, Safari and Opera and make sure they pass.
  • Rebase your changes onto origin/HEAD if you can do so cleanly.
  • If submitting additional functionality, provide an example of how to use it.
  • Please keep code style consistent with surrounding code.

Dev Setup

  • Make sure you have NodeJS v0.10 installed
  • Run npm install from the project directory

Testing

  • (Local) Run gulp test. Make sure Karma Local Config has the browsers you want.
  • (Any browser, remotely) If you have a Sauce Labs account, you can run gulp test-ci. Make sure the target browser is enabled in Karma CI Config. Otherwise, Travis will run all browsers if you submit a Pull Request.