diff options
author | Robert Newson <rnewson@apache.org> | 2011-10-06 10:39:21 +0100 |
---|---|---|
committer | Robert Newson <rnewson@apache.org> | 2011-10-06 10:39:21 +0100 |
commit | 5b558c81ed9709fb286a6821e9ae6d6478012c2c (patch) | |
tree | df5689ac2ecfda77d4129a4c814dc21f68b93653 /share/server/mimeparse.js | |
parent | e6c0fc955ea2be0fd3c4e894fd0c7cc87202c5a5 (diff) |
Remove SpiderMonkey 1.8.5 compatibility
This commit reverts 1.8.5 compatibility including the corresponding couchjs
paren hack as this leads to significant breakage in existing functions.
Diffstat (limited to 'share/server/mimeparse.js')
-rw-r--r-- | share/server/mimeparse.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/server/mimeparse.js b/share/server/mimeparse.js index 42b600fa..3642a194 100644 --- a/share/server/mimeparse.js +++ b/share/server/mimeparse.js @@ -97,7 +97,7 @@ var Mimeparse = (function() { if ((type == targetType || type == "*" || targetType == "*") && (subtype == targetSubtype || subtype == "*" || targetSubtype == "*")) { var matchCount = 0; - for (var param in targetParams) { + for (param in targetParams) { if (param != 'q' && params[param] && params[param] == targetParams[param]) { matchCount += 1; } |