summaryrefslogtreecommitdiff
path: root/couchjs/js/mimeparse.js
diff options
context:
space:
mode:
Diffstat (limited to 'couchjs/js/mimeparse.js')
-rw-r--r--couchjs/js/mimeparse.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/couchjs/js/mimeparse.js b/couchjs/js/mimeparse.js
index 3642a194..42b600fa 100644
--- a/couchjs/js/mimeparse.js
+++ b/couchjs/js/mimeparse.js
@@ -97,7 +97,7 @@ var Mimeparse = (function() {
if ((type == targetType || type == "*" || targetType == "*") &&
(subtype == targetSubtype || subtype == "*" || targetSubtype == "*")) {
var matchCount = 0;
- for (param in targetParams) {
+ for (var param in targetParams) {
if (param != 'q' && params[param] && params[param] == targetParams[param]) {
matchCount += 1;
}