From aeb864afdeda00ea45edf040e18417ec5940110f Mon Sep 17 00:00:00 2001 From: Ben Kurtovic Date: Sun, 18 May 2014 15:04:53 -0400 Subject: [PATCH] Fix typo. --- main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.js b/main.js index 952c24d..0630e6a 100644 --- a/main.js +++ b/main.js @@ -157,7 +157,7 @@ function validate_score_data(data) { for (var bucket_id in data) { if (data.hasOwnProperty(bucket_id)) { - if (isNaN(parseInt(bucket_id) || bucket_id >= MAX_BUCKETS)) + if (isNaN(parseInt(bucket_id)) || bucket_id >= MAX_BUCKETS) throw "invalid bucket ID: " + bucket_id; var bucket = data[bucket_id]; if (!$.isPlainObject(bucket))