Nathan Rajlich
00d5bdf9a4
dist: recompile
2014-07-15 15:56:50 -07:00
Nathan Rajlich
6f278e3b4c
browser: place %c marker after the space character
...
This way, in Firefox 31, the "main content" of the debug
call will not have any extra whitespace on the left of it.
2014-07-15 15:55:52 -07:00
Nathan Rajlich
7278fcc4e2
README++
2014-07-15 15:50:05 -07:00
Nathan Rajlich
e843826527
Merge pull request #116 from wryk/patch-1
...
update documentation about styled console logs
2014-07-15 15:43:16 -07:00
Nathan Rajlich
4c8e3d3e5e
example: remove console.info() log usage
...
Annoying since the Web Inspector will add an exclamation point
with a blue circle around it to any debug() calls when `info()`
is used.
2014-07-15 15:42:11 -07:00
Nathan Rajlich
09e31bb47a
dist: recompile
2014-07-15 15:42:06 -07:00
Nathan Rajlich
998d85bac9
browser: reset the "content" color via color: inherit
...
Necessary for Firefox v31, which seems to retain the previous
color from a previous %c color formatter when an empty string
is given.
2014-07-15 15:41:03 -07:00
Nathan Rajlich
165e937e6d
browser: add colors support for Firefox >= v31
...
Part of #116 .
2014-07-15 15:40:16 -07:00
Nathan Rajlich
e5a4ef2c94
example: add "Content-Type" UTF-8 header to browser example
2014-07-15 15:09:24 -07:00
Nathan Rajlich
3add08ea0c
dist: recompile
2014-07-15 15:08:23 -07:00
Nathan Rajlich
93c759961d
Release 1.0.3
1.0.3
2014-07-09 09:17:18 -07:00
Nathan Rajlich
c8aa92be6d
Merge pull request #122 from seegno/enhancement/multiple-wildcards
...
Add support for multiple wildcards in namespaces
2014-07-08 07:34:29 -07:00
Tiago Ribeiro
d92fe0e6e0
Add support for multiple wildcards in namespaces
2014-07-08 12:02:38 +01:00
Nathan Rajlich
2f70264aad
browser: fix lint
2014-06-16 17:24:54 -07:00
Mathieu Gallé-Tessonneau
aad769a887
update documentation about styled console logs
...
Firefox now support styled console logs since version 31 (actually on aurora) : https://hacks.mozilla.org/2014/05/editable-box-model-multiple-selection-sublime-text-keys-much-more-firefox-developer-tools-episode-31/
2014-06-12 10:30:19 +02:00
Nathan Rajlich
46939bcc1a
Release 1.0.2
1.0.2
2014-06-10 17:50:47 -07:00
Nathan Rajlich
558f604f07
dist: recompile
2014-06-10 15:03:40 -07:00
Nathan Rajlich
abe20e18a8
Merge pull request #113 from gscottolson/master
...
Updated color palette for white backgrounds.
2014-06-10 14:20:38 -07:00
G Scott Olson
d738362777
Restore color order.
2014-06-10 17:17:41 -04:00
G Scott Olson
5f54356b6d
Update color palette.
2014-06-10 16:57:20 -04:00
Nathan Rajlich
57f1cf2f30
History: consistent spacing
2014-06-09 11:26:47 -07:00
Nathan Rajlich
68e8139416
Merge pull request #108 from timoxley/console_error
...
Make console.x configurable.
2014-06-07 23:53:05 -07:00
Tim Oxley
dd32a4c902
Make console logging function configurable.
...
Split log() into 2 methods: formatArgs() and log(), allowing log to be
overridden on a per-namespace or global level. Global log settings trump
per-namespace settings.
2014-06-07 23:34:39 -07:00
Nathan Rajlich
83f38e56ac
node: fix %o colors on old node <= 0.8.x
2014-06-07 23:15:10 -07:00
Nathan Rajlich
bd0aa4707e
Merge pull request #109 from timoxley/node_path
...
Find node path using shell/which.
2014-06-07 22:26:09 -07:00
Tim Oxley
72793beb32
Find node path using shell/which.
...
Without this patch, Make would fail with the following error:
```
> make
/bin/sh: node: command not found
make: *** [node_modules] Error 127
```
This may be something strange about my computer's configuration, but
seems like a harmless change.
2014-06-07 22:21:43 -07:00
Nathan Rajlich
613065a9b4
dist: recompile
2014-06-06 13:34:35 -07:00
Nathan Rajlich
febc3fe5f5
Release 1.0.1
1.0.1
2014-06-06 13:22:45 -07:00
Nathan Rajlich
c1b0c6e9cc
browser: use removeItem() to clear localStorage
2014-06-06 13:08:59 -07:00
Nathan Rajlich
462c3b2045
Merge pull request #107 from leedm777/fix-debug-env
...
Don't set DEBUG if namespaces is undefined.
2014-06-06 13:04:31 -07:00
David M. Lee
3aa365ae93
Don't set DEBUG if namespaces is undefined.
...
On Node.js, if you set a process.env field to either null or undefined,
it gets cast to string 'null' or 'undefined'.
For debug, this means that if you don't have DEBUG set, it will get set
to the string 'undefined'. There are other modules (like
node-rest-client) which use the DEBUG environment variable that will
start spewing debug output when you don't want it to.
2014-06-06 15:01:50 -05:00
Nathan Rajlich
a4de5389c0
package: add "contributors" section
...
Feel free to add yourself in a PR if you've contributed a patch
in the past.
2014-06-05 00:36:36 -07:00
Nathan Rajlich
9fdd3313be
node: type comment typo
2014-06-05 00:35:26 -07:00
TJ Holowaychuk
4a78aa6c21
authors
2014-06-04 21:02:49 -07:00
Nathan Rajlich
908062b7b2
Release 1.0.0
1.0.0
2014-06-04 20:56:43 -07:00
Nathan Rajlich
91daf2860d
dist: recompile
2014-06-02 11:41:49 -07:00
Nathan Rajlich
872115d10a
make ms diff be global, not be scope
...
Closes #88 .
Closes #90 .
2014-06-02 11:36:49 -07:00
Nathan Rajlich
4ddbb61abd
debug: ignore empty strings in enable()
...
Stops the unnecessary /^$/ regexp from being "enabled".
2014-06-01 14:27:13 -07:00
Nathan Rajlich
48114629b4
node: fix typo and optimize useColors() logic
2014-06-01 14:21:26 -07:00
Nathan Rajlich
e0b6b07cb6
node: make DEBUG_COLORS able to disable coloring
...
Fixes #59 .
2014-06-01 11:09:55 -07:00
Nathan Rajlich
7df6b473ca
example: fix "browser.html" example
...
To use new browserify standalone build
2014-06-01 10:41:09 -07:00
Nathan Rajlich
4501edeac6
dist: recompile
2014-06-01 10:39:37 -07:00
Nathan Rajlich
e502a7df95
*: export the colors array
...
DRYs up some of the logic in the process,
since the "core" color handling code gets
moved to `debug.js`
Closes #20 .
2014-06-01 10:32:30 -07:00
Nathan Rajlich
9b5e9f7ef2
browser: even more robust "%c" handling
...
Now we support the user passing in their own
"%c" fields in `debug()` calls.
2014-06-01 10:26:58 -07:00
TJ Holowaychuk
9a282f9a41
Merge pull request #101 from visionmedia/use/browserify
...
Use "browserify" for standalone browser-side builds
2014-05-31 20:13:12 -07:00
Nathan Rajlich
808c5865b9
dist: recompile
2014-05-31 20:12:31 -07:00
Nathan Rajlich
43b0d51c21
npmignore: don't publish the dist dir
...
Not used in node/browserify, so not needed.
2014-05-31 20:12:31 -07:00
Nathan Rajlich
0c1a90a278
Makefile: refactor to use browserify
...
Uses browserify to build a `dist/debug.js` file for
standalone browser-side consumption.
2014-05-31 20:12:31 -07:00
Nathan Rajlich
44e6af18d3
package: add "browserify" as a dev dependency
2014-05-31 20:12:31 -07:00
Nathan Rajlich
533406869c
debug: fix passing an Error object in directly
2014-05-31 20:12:17 -07:00