Permalink
Browse files

Fixing global leak.

  • Loading branch information...
1 parent e07418f commit 6cfaec2ef1bc96261a7d297f1279ecec40fb57bb @domenic domenic committed Apr 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/mediaType.js
View
@@ -10,7 +10,7 @@ function parseAccept(accept) {
};
function parseMediaType(s) {
- match = s.match(/\s*(\S+)\/([^;\s]+)\s*(?:;(.*))?/);
+ var match = s.match(/\s*(\S+)\/([^;\s]+)\s*(?:;(.*))?/);
if (!match) return null;
var type = match[1],

0 comments on commit 6cfaec2

Please sign in to comment.