Skip to content

Commit

Permalink
Merge pull request #2245 from yanivefraim/master
Browse files Browse the repository at this point in the history
fix(docs): fix stopper.stop wrong variable name. closes #2244
  • Loading branch information
dignifiedquire committed Jul 11, 2016
2 parents e068fd2 + 0745a00 commit f6cdab5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/dev/04-public-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ This function will signal a running server to stop. The equivalent of `karma st

```javascript
var stopper = require('karma').stopper
runner.stop({port: 9876}, function(exitCode) {
stopper.stop({port: 9876}, function(exitCode) {
if (exitCode === 0) {
console.log('Server stop as initiated')
}
Expand All @@ -136,4 +136,4 @@ runner.stop({port: 9876}, function(exitCode) {

## Callback function notes

- If there is an error, the error code will be provided as the second parameter to the error callback.
- If there is an error, the error code will be provided as the second parameter to the error callback.

0 comments on commit f6cdab5

Please sign in to comment.