Please sign in to comment.
More robust check for running under node
Check if module.exports exists, since this is a more reliable check if we are running under node. Checking for window conflicts with some node modules like d3 that define a global window object.
- Loading branch information...