From 3add08ea0c0be11a4107ae2fd0c4edf34793ed1a Mon Sep 17 00:00:00 2001 From: Nathan Rajlich Date: Tue, 15 Jul 2014 15:08:23 -0700 Subject: [PATCH] dist: recompile --- dist/debug.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/debug.js b/dist/debug.js index 3fa8ae0..17a1444 100644 --- a/dist/debug.js +++ b/dist/debug.js @@ -67,7 +67,7 @@ function formatArgs() { + (useColors ? '%c ' : ' ') + '+' + exports.humanize(this.diff); - if (!useColors) return args + if (!useColors) return args; var c = 'color: ' + this.color; args = [args[0], c, ''].concat(Array.prototype.slice.call(args, 1)); @@ -288,7 +288,7 @@ function enable(namespaces) { for (var i = 0; i < len; i++) { if (!split[i]) continue; // ignore empty strings - namespaces = split[i].replace('*', '.*?'); + namespaces = split[i].replace(/\*/g, '.*?'); if (namespaces[0] === '-') { exports.skips.push(new RegExp('^' + namespaces.substr(1) + '$')); } else {