Skip to content

Commit

Permalink
refactor inverted if-stat
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Oct 10, 2012
1 parent fd25e00 commit b0b09bb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions Makefile

This file was deleted.

4 changes: 2 additions & 2 deletions index.js
@@ -1,5 +1,5 @@
if (typeof window != 'undefined') {
if ('undefined' == typeof window) {
module.exports = require('./debug');
} else {
module.exports = require('./lib/debug');
}
}
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -6,7 +6,7 @@
, "author": "TJ Holowaychuk <tj@vision-media.ca>"
, "dependencies": {}
, "devDependencies": { "mocha": "*" }
, "main": "index"
, "main": "lib/debug.js"
, "browserify": "debug.js"
, "engines": { "node": "*" }
}

0 comments on commit b0b09bb

Please sign in to comment.