From ce56f072d4053ef75e71f6c5839c0e6e6fd81a41 Mon Sep 17 00:00:00 2001 From: Julien Fontanet Date: Thu, 19 Dec 2013 12:54:24 +0100 Subject: [PATCH] Items where not removed from arrays in specification. --- src/spec.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/spec.coffee b/src/spec.coffee index b21820090..4dff6700c 100644 --- a/src/spec.coffee +++ b/src/spec.coffee @@ -3,7 +3,7 @@ retrieveTags = (UUID) -> [] # TODO test = (value) -> value.$type is @rule.name remove = (array, value) -> - index = array.indexOf array, value + index = array.indexOf value array.splice(index, 1) unless index is -1