From 02cdf32bdd387b50067baf5c087249db1ca322b5 Mon Sep 17 00:00:00 2001 From: rxi Date: Thu, 27 Feb 2014 23:23:07 +0000 Subject: [PATCH] Fixed lume.filter() example in README.md --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 35067ab..563a791 100644 --- a/README.md +++ b/README.md @@ -101,8 +101,7 @@ Calls `fn` on each value of `t` table. Returns a new table with only the values where `fn` returned true. If `retainkeys` is true the table is not treated as an array and retains its original keys. ```lua -lume.filter({1, 2, 3, 4}, function(x) return x % 2 == 0 end, true) --- Returns {2, 4} +lume.filter({1, 2, 3, 4}, function(x) return x % 2 == 0 end) -- Returns {2, 4} ``` ### lume.merge(t, t2 [, retainkeys])