Comparing version 1.0.1 to 1.0.2
@@ -17,3 +17,3 @@ // follow @HenrikJoreteg and @andyet if you like this ;) | ||
if (inNode) { | ||
if (inNode || !ls) { | ||
module.exports = console; | ||
@@ -20,0 +20,0 @@ return; |
{ | ||
"name": "andlog", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"author": "Henrik Joreteg <henrik@andyet.net>", | ||
@@ -5,0 +5,0 @@ "description": "Super-simple, client-side CommonJS logging thingy", |
@@ -47,3 +47,3 @@ # &log | ||
If you're using this on the client but your project is in node.js you can install this with: [browserify](https://github.com/substack/node-browserify/) and npm. | ||
If you're using this on the client but your project is in node.js you can install this with: [browserify](https://github.com/substack/node-browserify/) and npm. | ||
@@ -70,2 +70,6 @@ ```javascript | ||
## Releases | ||
- `1.0.2` bug fix to make sure `ls` is always defined. | ||
## License | ||
@@ -72,0 +76,0 @@ |
3607
78