aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/simple/app.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/simple/app.js b/web/simple/app.js
index cc83c7d..ed889f1 100644
--- a/web/simple/app.js
+++ b/web/simple/app.js
@@ -19,8 +19,8 @@ if (!Array.prototype.find) {
value: function(predicate) {
var value;
for (var i = 0; i < this.length; i++) {
- value = list[i];
- if (predicate.call(arguments[1], value, i, list)) {
+ value = this[i];
+ if (predicate.call(arguments[1], value, i, this)) {
return value;
}
}