report also failed test for doc reporter
Less re-rendering with progress reporter

With a large number of small tests a significant portion of the testing time is simply re-rendering the progress bar, this only re-renders the progress bar if the progress has changed.
Support for environment with `global` and `window`

Node-webkit has a global `global` object, while the global `this` is the
`window` object. Overwriting `global` with `window` breaks a lot of
things.
Add ES6 arrow function support to utils.clean
Revert to previously defined onerror handler
Add browser script option to package.json

This will tell any browserify project to package the browser version of
mocha and not the Node version.

Fixes issue #880

This will only cover the JavaScript packaging, CSS is still done
manually through <link> tags.
Fix regex that generates html for 'new' keyword (close #1201)
Merge pull request #1197 from sukima/feature/add-browser-directive

Add browser script option to package.json
Fix dot reporter output bugs

Fixed:
- Pending test dots not being counted (leading to longer rows of dots when containing pending tests)
- Off-by-one error on first dot row (first row always lacks a dot)
small tweak to clean() to show failure deatils

In json output, there was no detail shown for the failures.  Adding line #69 results in failed tests showing the 'err' object.
removing ' || undefined'
"Merge pull request #1205 from ben-bradley/patch-1\n\nsmall tweak to clean() to show failure deatils"

* ben-bradley/patch-1:
  removing ' || undefined'
  small tweak to clean() to show failure deatils
Fix style (#1205)
Add docs for wrapped node flags in mocha --help
remove unused variable isNode from checkGlobals
Undefined callback error in mocha.run() on browser

Mocha.prototype.run(callback) provide an error status to the callback (0/1).
But this value is not forwarded to the browser callback.

    mocha.run(function(err) {
      console.log(err); // Always undefined
    })
Merge pull request #1216 from nopnop/patch-1

mocha.run() never return error status on browser
Merge pull request #1214 from qiuzuhui/patch-1

remove unused variable isNode from checkGlobals
1.19.0
Catch empty throws