Browse files

fix for `process` not available in browser when used via browserify. …

…Closes #28
  • Loading branch information...
1 parent 7097b60 commit 00ed5a706dbc5838f14418654a382c29a9213fbf @logicalparadox logicalparadox committed Feb 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
View
2 index.js
@@ -1,3 +1,3 @@
-module.exports = process.env.CHAI_COV
+module.exports = (process && process.env && process.env.CHAI_COV)
? require('./lib-cov/chai')
: require('./lib/chai');

0 comments on commit 00ed5a7

Please sign in to comment.