Comparing version 0.7.1 to 0.7.2
@@ -5,3 +5,3 @@ { | ||
"description": "small debugging utility", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"keywords": ["debug", "log", "debugger"], | ||
@@ -8,0 +8,0 @@ "scripts": ["index.js", "debug.js"], |
@@ -53,3 +53,5 @@ | ||
debug.enable = function(name) { | ||
localStorage.debug = name; | ||
try { | ||
localStorage.debug = name; | ||
} catch(e){} | ||
@@ -123,2 +125,2 @@ var split = (name || '').split(/[\s,]+/) | ||
if (window.localStorage) debug.enable(localStorage.debug); | ||
if (window.localStorage) debug.enable(localStorage.debug); |
0.7.2 / 2013-02-06 | ||
================== | ||
* fix package.json | ||
* fix: Mobile Safari (private mode) is broken with debug | ||
* fix: Use unicode to send escape character to shell instead of octal to work with strict mode javascript | ||
0.7.1 / 2013-02-05 | ||
@@ -3,0 +10,0 @@ ================== |
@@ -115,6 +115,6 @@ /** | ||
fmt = ' \033[9' + c + 'm' + name + ' ' | ||
+ '\033[3' + c + 'm\033[90m' | ||
+ fmt + '\033[3' + c + 'm' | ||
+ ' +' + humanize(ms) + '\033[0m'; | ||
fmt = ' \u001b[9' + c + 'm' + name + ' ' | ||
+ '\u001b[3' + c + 'm\u001b[90m' | ||
+ fmt + '\u001b[3' + c + 'm' | ||
+ ' +' + humanize(ms) + '\u001b[0m'; | ||
@@ -121,0 +121,0 @@ console.error.apply(this, arguments); |
{ | ||
"name": "debug" | ||
, "version": "0.7.1" | ||
, "version": "0.7.2" | ||
, "repository": { "type": "git", "url": "git://github.com/visionmedia/debug.git" } | ||
@@ -13,2 +13,8 @@ , "description": "small debugging utility" | ||
, "engines": { "node": "*" } | ||
, "component": { | ||
"scripts": { | ||
"debug/index.js": "index.js", | ||
"debug/debug.js": "debug.js" | ||
} | ||
} | ||
} |
12611
253