Skip to content

Commit

Permalink
Merge pull request #2053 from mislav/window-vs-global
Browse files Browse the repository at this point in the history
Have global exports be compatible with Web Workers
  • Loading branch information
danielstjules committed Jan 26, 2016
2 parents aa550e1 + 95d7d5b commit a661e6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions support/browser-entry.js
Expand Up @@ -157,5 +157,5 @@ Mocha.process = process;
* Expose mocha.
*/

window.Mocha = Mocha;
window.mocha = mocha;
global.Mocha = Mocha;
global.mocha = mocha;

0 comments on commit a661e6c

Please sign in to comment.