Items where not removed from arrays in specification.

This commit is contained in:
Julien Fontanet 2013-12-19 12:54:24 +01:00
parent 3fc5aba3bc
commit ce56f072d4

View File

@ -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