mocha-given icon indicating copy to clipboard operation
mocha-given copied to clipboard

Browser distribution should be wrapped in an IIFE

Open benquarmby opened this issue 9 years ago • 1 comments

Firstly, the browser distribution of mocha-given (/browser/mocha-given.js) is very much appreciated!

However, the compiled JavaScript currently pollutes the browser's global scope with all of the module's variables. I believe that compiling CoffeeScript without the --bare option should fix that.

benquarmby avatar Jul 20 '14 01:07 benquarmby