Nathan Rajlich
61394bf18e
debug: use "ms" module for humanizing the diff
...
This would be the first external dependency for `debug`,
so it's slightly controversial.
2014-05-31 13:24:29 -07:00
Nathan Rajlich
a4aacbd785
browser: fix the case of passing additional arguments after the "format"
...
Before the "%c" CSS color value was potentially being
inserted into the wrong place in the arguments array,
which would throw the formatting off in the Console.
2014-05-31 12:55:05 -07:00
Nathan Rajlich
eb80377e34
browser: fix colors in strict mode
2014-05-31 12:25:14 -07:00
Nathan Rajlich
b259bc0a10
Merge pull request #98 from TooTallNate/add/browser-colors
...
browser: add colors for WebKit browsers and Firebug
2014-05-31 12:24:06 -07:00
Nathan Rajlich
007123fa11
node: fix colors in strict mode
...
Before the `fmt` variable was not being updated.
Closes #70 .
2014-05-31 12:22:05 -07:00
Nathan Rajlich
7af914c2c0
Readme: add "bash" syntax highlighting
2014-05-31 11:55:37 -07:00
Nathan Rajlich
546377c1e1
Merge pull request #51 from sorccu/patch-1
...
Minor README code fix.
2014-05-31 11:50:53 -07:00
Nathan Rajlich
d5addbcb45
Merge pull request #62 from jaredly/patch-1
...
typo
2014-05-31 11:35:43 -07:00
Nathan Rajlich
8bed009c84
browser: add Firebug color support
2014-05-31 11:16:12 -07:00
Nathan Rajlich
1fd62b0d86
Merge pull request #96 from TooTallNate/rewrite/share-node-browser-logic
...
Rewrite: abstract the common logic between Node.js and the browser
2014-05-31 10:44:11 -07:00
Nathan Rajlich
79b75ad626
browser: add colors for WebKit browsers
...
Based off of the implemention from #67 , except this one
matches the Node.js colored output exactly, including the
trailing `diff` value.
2014-05-30 22:48:44 -07:00
Nathan Rajlich
83bae02343
debug: invoke save() at the beginning of enable()
...
We modify the `namespaces` argument directly for some reason,
which ends up saving input that ends up being invalid RegExp code
upon the next `load()`+`enable()` call combo.
Avoid that completely by just saving the input directly first thing.
Fixes browsers since they actually use the "saved" value.
2014-05-30 22:14:10 -07:00
Nathan Rajlich
f3eb1a5396
node: don't default save() to an empty string
2014-05-30 22:13:46 -07:00
Nathan Rajlich
3314c7761c
browser: don't default save() to empty string
2014-05-30 22:13:23 -07:00
Nathan Rajlich
bea76f587b
browser: fix undefined name variable
2014-05-30 00:29:14 -07:00
Nathan Rajlich
3eebad470a
browser: fix comment typo
2014-05-30 00:23:56 -07:00
Nathan Rajlich
fbbf2ca884
node: , -> .
2014-05-30 00:18:17 -07:00
Nathan Rajlich
d05b468ee2
browser: , -> .
2014-05-30 00:18:08 -07:00
Nathan Rajlich
0c6d452292
node: apply log to console
...
Not necessary, just seems more "proper"
2014-05-30 00:15:29 -07:00
Nathan Rajlich
2cffe24185
rewrite: abstract common logic for Node & browsers
2014-05-30 00:10:10 -07:00
Nathan Rajlich
45010b65d0
add .jshintrc file
2014-05-30 00:07:15 -07:00
Nathan Rajlich
0269707d06
component: fix mismatching version number
...
The `component.json` file is at v0.8.1 currently.
2014-05-28 21:40:31 -07:00
TJ Holowaychuk
09a93468b0
Release 0.8.1
0.8.1
2014-04-14 19:04:38 -07:00
TJ Holowaychuk
192441f55b
Merge pull request #86 from TooTallNate/update/add-component-section-to-package.json
...
package: re-add the "component" section
2014-04-14 19:03:47 -07:00
Nathan Rajlich
e289c89b21
package: re-add the "component" section
...
Was inadvertently removed in a1cf28776451b58f322519ede9f9c0076cac1345.
The "component" section is only used by legacy build systems at this
point, but removing this broke our Cloudup build when we tried to
update to v0.8.0 of `debug`. Adding it back for v0.8.1 so that
we can upgrade again.
2014-04-14 18:00:26 -07:00
TJ Holowaychuk
2109329b39
Release 0.8.0
0.8.0
2014-03-30 09:00:15 -07:00
TJ Holowaychuk
491eea3b33
change from stderr to stdout
2014-03-30 08:59:20 -07:00
TJ Holowaychuk
db73b661fd
refactor
2014-03-30 08:56:39 -07:00
TJ Holowaychuk
bb0b7bb026
Merge pull request #82 from inca/master
...
Exposing enable() method for Node.js to address #27
2014-03-30 08:56:00 -07:00
TJ Holowaychuk
1440eebd78
Merge pull request #84 from bnoordhuis/fix-readme
...
Readme.md: fix inadvertent markdown italicization
2014-03-21 08:02:28 -07:00
Ben Noordhuis
06830e88da
Readme.md: fix inadvertent markdown italicization
...
Escape a * that made GitHub's markdown parser italicize the paragraph.
2014-03-21 13:02:04 +01:00
Boris Okunskiy
2e992a0cda
Exposing enable() method for Node.js to address #27
2014-03-14 11:57:16 +04:00
TJ Holowaychuk
425ad5b6c7
Merge pull request #79 from jonathanong/remove-index
...
remove unnecessary index.js file
2014-02-10 17:20:29 -08:00
Jonathan Ong
a1cf287764
remove unnecessary index.js file
2014-02-06 15:12:17 -08:00
TJ Holowaychuk
8068c0983c
Merge pull request #75 from HaykoKoryun/patch-1
...
updated .npmignore
2013-12-23 10:39:05 -08:00
Hayko Koryun
aca9f15e60
updated .npmignore
...
updated `.npmignore` to additionally ignore the new `example` folder (looks like you renamed it from examples though).
2013-12-23 03:59:36 -08:00
TJ Holowaychuk
f877623fce
Release 0.7.4
0.7.4
2013-11-13 09:13:58 -08:00
TJ Holowaychuk
1eac0c0006
Merge pull request #68 from timoxley/bug/browserify-broken
...
Remove "browserify" key from package.json.
2013-11-05 11:35:51 -08:00
Tim
535a5aeb64
Remove "browserify" key from package.json.
...
Not sure how this ever worked as this key is for specifying which
transforms to apply, doesn't make any sense haha.
2013-11-05 14:57:06 +08:00
TJ Holowaychuk
cc9bbb1489
Release 0.7.3
0.7.3
2013-10-30 17:51:27 -07:00
Jared Forsyth
d62596e7d9
typo
2013-08-29 13:21:59 -06:00
TJ Holowaychuk
cfd9c65469
Merge pull request #49 from kewah/master
...
Catch localStorage security error when cookies are blocked (Chrome)
2013-08-09 03:31:31 -07:00
TJ Holowaychuk
5fb950a3cb
Merge pull request #55 from sindresorhus/patch-1
...
Explicitly define which files that are included in the npm package
2013-08-09 03:25:33 -07:00
TJ Holowaychuk
8a913582ea
Merge pull request #57 from es128/patch-1
...
Clarify use of stderr vs stdout in README
2013-07-26 09:23:56 -07:00
Elan Shanker
0a1c6aa301
Clarify use of stderr vs stdout
...
Resolves #56
2013-07-25 16:19:08 -04:00
Sindre Sorhus
25985295be
Explicitly define which files that are included in the npm package
2013-07-20 13:37:30 +02:00
Simo Kinnunen
34d6aa1c12
Minor README code fix.
...
Fixed what I believe to be a small typo in one of the code examples. One "worker" was not being used at all.
2013-06-15 23:45:05 +09:00
Antoine Lehurt
bb21abf651
Catch localStorage security error when cookies are blocked (Chrome)
...
If cookies are disabled on Chrome, `window.localStorage` throws an error
`Uncaught Error: SecurityError: DOM Exception 18`
2013-05-29 11:13:53 +02:00
TJ Holowaychuk
f4c8e1ea6c
add .message error fallback
2013-04-16 07:09:48 -07:00
TJ Holowaychuk
7793512aef
add Makefile
2013-04-16 07:02:13 -07:00