Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #2 from tellnes/exports

add browserify support
  • Loading branch information...
commit 104f863d1377b5d353662998f46225c6f2ad7da9 2 parents d29f2cc + 3a443a1
@mmalecki authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/ansispan.js
View
2  lib/ansispan.js
@@ -39,7 +39,7 @@ ansispan.foregroundColors = {
'37': 'white'
};
-if (typeof module == "object" && typeof window == "undefined") {
+if (typeof module !== 'undefined' && module.exports) {
module.exports = ansispan;
}
Please sign in to comment.
Something went wrong with that request. Please try again.