Merge pull request #353 from braddunbar/style

style, clarity
This commit is contained in:
Jeremy Ashkenas
2011-10-28 14:05:07 -07:00

View File

@@ -206,7 +206,7 @@
if (obj == null) return found; if (obj == null) return found;
if (nativeIndexOf && obj.indexOf === nativeIndexOf) return obj.indexOf(target) != -1; if (nativeIndexOf && obj.indexOf === nativeIndexOf) return obj.indexOf(target) != -1;
found = any(obj, function(value) { found = any(obj, function(value) {
if (value === target) return true; return value === target;
}); });
return found; return found;
}; };